remove rotation

This commit is contained in:
Kseninia Mikhaylova 2024-09-02 15:57:57 +03:00
parent 9fb3e87e00
commit a97723b8bb
1 changed files with 0 additions and 1 deletions

View File

@ -270,7 +270,6 @@ watch(() => sidebar.is_open && sidebar.id_clickable, () => {
const quaternion = new Quaternion(); const quaternion = new Quaternion();
quaternion.setFromAxisAngle(new Vector3(1, 0, 0), -45 * 4 * (Math.PI / 180)); quaternion.setFromAxisAngle(new Vector3(1, 0, 0), -45 * 4 * (Math.PI / 180));
camera_rotatetoto.value = quaternion camera_rotatetoto.value = quaternion
camera.value.rotation.z += Math.PI/2
camera_moveto.value = target_vector; camera_moveto.value = target_vector;
} }
} }