|
@@ -209,7 +209,7 @@ function update() {
|
|
|
camera.focusTarget.add(vector);
|
|
|
}
|
|
|
|
|
|
- var rotation = 6 * (Math.PI / 180);
|
|
|
+ var rotation = THREE.Math.degToRad(6);
|
|
|
|
|
|
let cameraOffset = new THREE.Vector3(camera.offset.x, camera.offset.y, camera.offset.z);
|
|
|
if (keys[KeyCode.Q]) {
|