Code Monkey home page Code Monkey logo

platform-twin-ship's People

Contributors

dependabot[bot] avatar ferrari212 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

just111n

platform-twin-ship's Issues

Code Bundle

The following piece of code has a reference problem when the code is bundled and it would be nice if a better approach was used allowing whatever type of state to be inserted.

this.resistanceState = this.states.discrete.HullResistance.state

For this accomplishment a primary idea is to use a "for in" loop to verify each key and assign a new object state for each of one. This would allow the bundle change the class name as well, reducing the sizes of the archives and improving the efficiency of the code in the web.

The Filter layer for Raycaster does not work

The filter layer does not work properly when both, the Ship3D and the GLB are in. The idea is to disable each object according to the visibility status:
if (status) { modelGLTF.layers.enableAll() ship3D.layers.disableAll() } else { ship3D.layers.enableAll() modelGLTF.layers.disableAll() }

Some ideas are shown bellow, but tested without success:
mrdoob/three.js#251 (comment)
https://stackoverflow.com/questions/54293528/three-object3d-how-to-disable-raycast-for-object-not-material

Header does not update

The header does not update when a new version is deled or changed. Probably the must be inserted a useState function in:

function HeaderLoggedIn(props) {
const appDispatch = useContext(DispatchContext)
var appState = props.appState
var ship = new ShipObject(appState.user)

The issue started to appear when the get from data base function was changed to search only for non null versions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.