Skip to content
Snippets Groups Projects
Commit c144403e authored by MEHIAOUI Mohamed's avatar MEHIAOUI Mohamed
Browse files

changement d'angle camera

parent fb9cb405
No related branches found
No related tags found
No related merge requests found
...@@ -447,7 +447,7 @@ function init() { ...@@ -447,7 +447,7 @@ function init() {
// CAMERA // CAMERA
camera = new THREE.PerspectiveCamera( 35, canvasRatio, 2, 8000 ); camera = new THREE.PerspectiveCamera( 35, canvasRatio, 2, 8000 );
camera.position.set(0, 10, 30 ); camera.position.set(0, 10, 90 );
camera.lookAt(new THREE.Vector3(0,5,0)); camera.lookAt(new THREE.Vector3(0,5,0));
// CONTROLS // CONTROLS
cameraControls = new OrbitControls(camera, renderer.domElement); cameraControls = new OrbitControls(camera, renderer.domElement);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment