quat to euler

New Message Reply Date view Thread view Subject view Author view

h.d. pfeffer (d.pfeffer++at++signaal.nl)
Thu, 06 May 1999 16:14:24 +0200


Hi all

I'm trying to calculate the euler angles of a quaternion x y z a.

pfQuat quat.set(x,y,z,a);
pfMatrix mat.makeQuat(quat);
mat.getOrthoCoord(&coord);

1. I suppose there is a better way to get the euler angles
2. the result of coord.hpr is not the one I expected

Any suggestions ?

Thanks

Dieter

-- 
Unclassified Mail
----------------------------
Dieter Pfeffer
Hollandse Signaalapparaten B.V. 
email:  d.pfeffer++at++signaal.nl
P.O. Box 42                         | Phone: +31-74-2484262
7550 GD Hengelo, The Netherlands    | Fax  : +31-74-2484064

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu May 06 1999 - 07:33:50 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.