We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WHS.Model
WHS.Importer
WHS.app.ModuleName
WHS.ModuleName
compact
TestApp
App
BasicAppPreset
A lot of Three.js controls have similar API (.update(), ...).
.update()
We can make a ControlsModule which will take:
ControlsModule
A Three.js controls instance.
fix() - same as in TextureModule. Allows you to make changes to controls before they are added.
fix()
TextureModule
Concept
const controlsModule = new ControlsModule({ controls: new THREE.OrbitControls(), fix(controls) { controls.customParameter = value; return controls; } }); const app = new App([ // ... controlsModule ]); app.start();
console.log(controlsModule.controls); // THREE.OrbitControls
const app = new App([ // ... ControlsModule.from(new THREE.OrbitControls()) ]);
The text was updated successfully, but these errors were encountered:
I also want to keep simplicity of current OrbitModule. It will now extend ControlsModule and be renamed to OrbitControlsModule
OrbitModule
OrbitControlsModule
Sorry, something went wrong.
Merge pull request #231 from WhitestormJS/#230
71a9f11
#230 - Small refactoring
sasha240100
No branches or pull requests
Components
WHS.Model
->WHS.Importer
Reason: can handle group of objectsModules
WHS.app.ModuleName
->WHS.ModuleName
Maintainance
compact
versionPresets
TestApp
class that will behave like anApp
withBasicAppPreset
ControlsModule
A lot of Three.js controls have similar API (
.update()
, ...).We can make a
ControlsModule
which will take:A Three.js controls instance.
fix()
- same as inTextureModule
. Allows you to make changes to controls before they are added.Concept
Version:
Issue type:
Tested on:
Desktop
Android
IOS
The text was updated successfully, but these errors were encountered: