Parcourir la source

Remove autorotation from sandbox

David Catuhe il y a 8 ans
Parent
commit
b70e4223bf
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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");