Browse Source

fix house scene so no trackback input

Gregg (Greggman/GMan) Tavares 7 years ago
parent
commit
ca82425477
1 changed files with 2 additions and 1 deletions
  1. 2 1
      threejs/lessons/resources/threejs-fog.js

+ 2 - 1
threejs/lessons/resources/threejs-fog.js

@@ -46,7 +46,7 @@
       scene.add(gltf.scene);
     });
 
-    camera.fov = 30;
+    camera.fov = 45;
     camera.position.set(0.4, 1, 1.7);
     camera.lookAt(1, 1, 0.7);
 
@@ -62,6 +62,7 @@
 
     const target = [1, 1, 0.7];
     return {
+      trackball: false,
       obj3D: new THREE.Object3D(),
       update: (time) => {
         camera.lookAt(target[0] + Math.sin(time * .25) * .5, target[1], target[2]);