Skip to content
Snippets Groups Projects
Commit 6b3ce6f3 authored by Thomas KANY's avatar Thomas KANY
Browse files

camera

parent 30f9d1df
No related branches found
No related tags found
No related merge requests found
...@@ -372,7 +372,8 @@ function init() { ...@@ -372,7 +372,8 @@ function init() {
// CAMERA // CAMERA
camera = new THREE.PerspectiveCamera(35, canvasRatio, 1, 800000); camera = new THREE.PerspectiveCamera(35, canvasRatio, 1, 800000);
camera.position.set(-1230, 920, -670); camera.position.set(-3127, 726, -12158);
camera.rotation.set(3,0,-3);
// CONTROLS // CONTROLS
cameraControls = new OrbitControls(camera, renderer.domElement); cameraControls = new OrbitControls(camera, renderer.domElement);
...@@ -398,6 +399,8 @@ function animate() { ...@@ -398,6 +399,8 @@ function animate() {
} }
} }
render(); render();
stats.end(); stats.end();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment