提交 d5800a49 编写于 作者: D Don McCurdy

Examples: Don't autorotate keyframes example.

上级 995ba9ba
......@@ -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 ) );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册