Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

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().


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: