From 485122a1504a149f8048c0231f27a56dd4d6ea4b Mon Sep 17 00:00:00 2001 From: Andrew Strelzoff Date: Thu, 6 Oct 2011 09:31:22 -0500 Subject: [PATCH] small fix - screen resize needs to refer to controls.screen sizes --- examples/webgl_trackballcamera_earth.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/webgl_trackballcamera_earth.html b/examples/webgl_trackballcamera_earth.html index 0ecc03c4..ebda9725 100644 --- a/examples/webgl_trackballcamera_earth.html +++ b/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;