|
@@ -279,9 +279,9 @@
|
|
|
|
|
|
view.updateCamera( camera, scene, mouseX, mouseY );
|
|
|
|
|
|
- var left = Math.floor( windowWidth * view.left );
|
|
|
+ var left = Math.floor( windowWidth * view.left );
|
|
|
var bottom = Math.floor( windowHeight * view.bottom );
|
|
|
- var width = Math.floor( windowWidth * view.width );
|
|
|
+ var width = Math.floor( windowWidth * view.width );
|
|
|
var height = Math.floor( windowHeight * view.height );
|
|
|
|
|
|
renderer.setViewport( left, bottom, width, height );
|