mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 11:24:00 +08:00
camera controls fix
This commit is contained in:
1 parent
f7eeedce56
commit
b338d3e196
1 file changed
+2
-2
@@ -64,8 +64,8 @@ export function get_scene_tree() {
|
||||
CameraControls.install({ THREE });
|
||||
|
||||
const camera_controls = new CameraControls(main_camera, renderer.domElement);
|
||||
camera_controls.azimuthRotateSpeed = -0.3; // negative value to invert rotation direction
|
||||
camera_controls.polarRotateSpeed = 0.3; //
|
||||
camera_controls.azimuthRotateSpeed = 0.3;
|
||||
camera_controls.polarRotateSpeed = 0.3;
|
||||
camera_controls.minDistance = 0.3;
|
||||
camera_controls.maxDistance = 100;
|
||||
|
||||
|
||||
Reference in new issue
Block a user