Hacker News new | ask | show | jobs
by Arcanis 5296 days ago
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().