Selaa lähdekoodia

Change rotate speed

WestLangley 7 vuotta sitten
vanhempi
commit
6e5b8e4e9e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 );