Fixed start camera position
This commit is contained in:
parent
7bd9e107a2
commit
ac05d434fa
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue