Преглед изворни кода

Examples: Don't autorotate keyframes example.

Don McCurdy пре 7 година
родитељ
комит
d5800a49d1
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      examples/webgl_animation_keyframes.html

+ 2 - 3
examples/webgl_animation_keyframes.html

@@ -80,14 +80,13 @@
 			scene = new THREE.Scene();
 
 			camera = new THREE.PerspectiveCamera( 40, window.innerWidth / window.innerHeight, 1, 100 );
-			camera.position.set( - 2.5, 1.5, 6 );
+			camera.position.set( - 5, 2.5, -3.5 );
 			camera.lookAt( new THREE.Vector3( 0, 0, 0 ) );
 
 			controls = new THREE.OrbitControls( camera, renderer.domElement );
 			controls.maxPolarAngle = Math.PI * 0.5;
-			controls.minDistance = 0.2;
+			controls.minDistance = 0.1;
 			controls.maxDistance = 20;
-			controls.autoRotate = true;
 
 			scene.add( new THREE.AmbientLight( 0x404040 ) );