Change default camera position
This commit is contained in:
parent
39f20796ce
commit
eb67a33331
|
|
@ -28,7 +28,7 @@ export class RendererService {
|
||||||
|
|
||||||
// Create camera
|
// Create camera
|
||||||
this.camera = new THREE.PerspectiveCamera(75, containerWidth / containerHeight, 0.1, 1000);
|
this.camera = new THREE.PerspectiveCamera(75, containerWidth / containerHeight, 0.1, 1000);
|
||||||
this.camera.position.set(0, 1, 3);
|
this.camera.position.set(-1, 2, 3);
|
||||||
this.camera.lookAt(0, 1, 0);
|
this.camera.lookAt(0, 1, 0);
|
||||||
|
|
||||||
// Create renderer
|
// Create renderer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user