瀏覽代碼

Change rotate speed

WestLangley 7 年之前
父節點
當前提交
6e5b8e4e9e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/webgl_panorama_cube.html

+ 1 - 0
examples/webgl_panorama_cube.html

@@ -64,6 +64,7 @@
 			controls.enableZoom = false;
 			controls.enablePan = false;
 			controls.enableDamping = true;
+			controls.rotateSpeed = - 0.25;
 
 			var textures = getTexturesFromAtlasFile( "textures/cube/sun_temple_stripe.jpg", 6 );