Przeglądaj źródła

Remove autorotation from sandbox

David Catuhe 8 lat temu
rodzic
commit
b70e4223bf
1 zmienionych plików z 0 dodań i 1 usunięć
  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");