cnr-isti-vclab/meshlabjs

Setting a camera view programatically

mrweix opened this issue · 0 comments

How can I set the camera to a certain angle. Lets say I want to rotate the scene on button click by 45 degrees.

_camera.rotation._x=0;
 _camera.rotation._y=Math.PI/4;
    _camera.rotation._z=0;

did not work. Can somebody point me into a direction? Thanks!