Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onCreate() {
//ControlsManager.setOrbitControl();
const cube = this.sceneHelper.addCube(20, 0xffffff);
this.sceneHelper.addCube(40, 0x00ffff);
SceneManager.camera.position({y: 70, z: 150});
SceneManager.camera.lookAt(0, 0, 0);
cube.position({y: 40});
}
}
onCreate() {
SceneManager.camera.position({y: 70, z: 150});
SceneManager.camera.lookAt(0, 0, 0);
this.setTranformControls();
this.enableInput();
this.sceneHelper.addGrid(2000, 100);
}
}
onCreate() {
ControlsManager.setOrbitControl();
window.cube = this.sceneHelper.addCube(20, 0xffffff);
SceneManager.camera.position({y: 70, z: 150});
SceneManager.camera.lookAt(0, 0, 0);
this.sceneHelper.addGrid(200, 20);
cube.position({z: 10});
}
}
onCreate() {
ControlsManager.setOrbitControl();
window.cube = this.sceneHelper.addCube(20, 0xffffff);
SceneManager.camera.position({y: 70, z: 150});
SceneManager.camera.lookAt(0, 0, 0);
this.sceneHelper.addGrid(200, 20);
cube.position({z: 10});
}
}
onCreate() {
SceneManager.camera.position({y: 70, z: 150});
SceneManager.camera.lookAt(0, 0, 0);
this.setTranformControls();
this.enableInput();
this.sceneHelper.addGrid(2000, 100);
}
}
onCreate() {
//ControlsManager.setOrbitControl();
const cube = this.sceneHelper.addCube(20, 0xffffff);
this.sceneHelper.addCube(40, 0x00ffff);
SceneManager.camera.position({y: 70, z: 150});
SceneManager.camera.lookAt(0, 0, 0);
cube.position({y: 40});
}
}