Переглянути джерело

Adjust camera in VRM loader example

Takahiro 7 роки тому
батько
коміт
c52335f473
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      examples/webgl_loader_vrm.html

+ 2 - 2
examples/webgl_loader_vrm.html

@@ -61,10 +61,10 @@
 				document.body.appendChild( container );
 				document.body.appendChild( container );
 
 
 				camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.25, 20 );
 				camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.25, 20 );
-				camera.position.set( 0, 0.8, - 2.2 );
+				camera.position.set( 0, 1.6, - 2.2 );
 
 
 				controls = new THREE.OrbitControls( camera );
 				controls = new THREE.OrbitControls( camera );
-				controls.target.set( 0, 0.8, 0 );
+				controls.target.set( 0, 0.9, 0 );
 				controls.update();
 				controls.update();
 
 
 				scene = new THREE.Scene();
 				scene = new THREE.Scene();