Browse Source

Merge remote-tracking branch 'guardianResearch/master' into dev

Mr.doob 14 years ago
parent
commit
b964b7e49f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_trackballcamera_earth.html

+ 2 - 2
examples/webgl_trackballcamera_earth.html

@@ -244,8 +244,8 @@
 				camera.aspect = width / height;
 				camera.updateProjectionMatrix();
 
-				camera.screen.width = width;
-				camera.screen.height = height;
+				controls.screen.width = width;
+				controls.screen.height = height;
 
 				camera.radius = ( width + height ) / 4;