invert the 3d view controls

This commit is contained in:
Calli
2023-07-02 22:36:24 +03:00
parent c89506420e
commit d44fa4caf3

View File

@@ -56,6 +56,7 @@ const PinsCanvas3D = ({
const controls = new OrbitControls(camera, renderer.domElement);
camera.position.set(CAMERA_X, CAMERA_Y, CAMERA_Z);
controls.rotateSpeed *= -1;
controls.update();
const scene = new THREE.Scene();