Browse Source

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

Mr.doob 13 years ago
parent
commit
3265a7efdd
1 changed files with 1 additions and 1 deletions
  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;
 
 			};