remove rotation
This commit is contained in:
parent
9fb3e87e00
commit
a97723b8bb
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue