Sfoglia il codice sorgente

Fixed missing camera->controls change in webgl_trackballcamera_earth.html. Fixes #1761.

Mr.doob 14 anni fa
parent
commit
3265a7efdd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/webgl_trackballcamera_earth.html

+ 1 - 1
examples/webgl_trackballcamera_earth.html

@@ -259,7 +259,7 @@
 				controls.screen.width = width;
 				controls.screen.height = height;
 
-				camera.radius = ( width + height ) / 4;
+				controls.radius = ( width + height ) / 4;
 
 			};
 

粤ICP备19079148号