You can calculate it yourself:

http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles

In the section "Conversion" see the second set of equations for phi, theta and psi. Just watch out for singularities...

(Note: q0=x, q1=y, q2=z, q3=w in the quat accesors, IIRC)

Philip Hahn

On 8/24/06, jOan <[EMAIL PROTECTED] > wrote:
Hello,

Is it possible to get the rotation on each axe (x,y,z) from a osg::Quat ?

--
jOan

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to