Ver código fonte

Improved camera in webgl_materials_cars example.

Mr.doob 7 anos atrás
pai
commit
19a0947ee8
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      examples/webgl_materials_cars.html

+ 2 - 2
examples/webgl_materials_cars.html

@@ -83,8 +83,8 @@
 
 				var container = document.getElementById( 'container' );
 
-				camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 1, 200 );
-				camera.position.set( 3.25, 1.25, -5 );
+				camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 0.1, 200 );
+				camera.position.set( 3.25, 2.0, -5 );
 
 				scene = new THREE.Scene();
 				scene.fog = new THREE.Fog( 0xd7cbb1, 1, 80 );