Re:Hacking Minecraft into WebGL
by Arcanis on Wednesday December 21, 2011 @06:58AM
(#3377234)
IIRC, you can change a Renderer size using renderer.setSize(w, h). In order to update the camera aspect, you just have to use : camera.ratio = w / h; camera.updateProjectionMatrix().
[ Parent
| on HN ]
There are no comments on this comment yet.