Fixed start camera position

This commit is contained in:
leca 2023-12-07 13:00:47 +03:00
parent 7bd9e107a2
commit ac05d434fa
1 changed files with 1 additions and 1 deletions

2
view/controls.js vendored
View File

@ -6,7 +6,7 @@ export class SpiralCamera {
constructor(canvas, segmentHeight) { constructor(canvas, segmentHeight) {
// this.camera = new THREE.PerspectiveCamera(75, canvas.clientWidth / canvas.clientHeight, 0.1, 1000); // this.camera = new THREE.PerspectiveCamera(75, canvas.clientWidth / canvas.clientHeight, 0.1, 1000);
this.camera = new THREE.PerspectiveCamera(75, canvas.clientWidth / canvas.clientHeight, 0.1, 1000); this.camera = new THREE.PerspectiveCamera(75, canvas.clientWidth / canvas.clientHeight, 0.1, 1000);
this.angle = 0; this.angle = 90;
this.distance = 5; this.distance = 5;
this.canvas = canvas this.canvas = canvas
this.offset = 0; this.offset = 0;