Browse Source

Remove autorotation from sandbox

David Catuhe 8 năm trước cách đây
mục cha
commit
b70e4223bf
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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");