small fix - screen resize needs to refer to controls.screen sizes

This commit is contained in:
Andrew Strelzoff
2011-10-06 09:31:22 -05:00
parent b53119097c
commit 485122a150
+2 -2
View File
@@ -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;