camera controls fix

This commit is contained in:
Ethan Weber committed 2022-09-22 20:55:30 +00:00
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;