Sfoglia il codice sorgente

Remove autorotation from sandbox

David Catuhe 8 anni fa
parent
commit
b70e4223bf
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      sandbox/index.js

+ 0 - 1
sandbox/index.js

@@ -68,7 +68,6 @@
             currentScene.createDefaultCameraOrLight(true);
             // Enable camera's behaviors
             currentScene.activeCamera.useBouncingBehavior = true;
-            currentScene.activeCamera.useAutoRotationBehavior  = true;
             currentScene.activeCamera.useFramingBehavior = true;
 
             var framingBehavior = currentScene.activeCamera.getBehaviorByName("Framing");