Hi:
    I am a beginner of OSG. I have a problem about how can I get the main
camera's rotation relative to x,y,z axis.
    I can get the view matrix by osg::Matrix matrix =
viewer->camera()->getViewMatrix(),after I get the view matrix,there is only
one member function getRotate which  returns the quat but not the rotation
angle relative to x,y,z axis. Is there any way to get
rotaton angle relative to x,y,z axis from quat?


ms yang
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to