Angus Dorbie (dorbie++at++sgi.com)
Thu, 06 May 1999 12:03:42 -0700
Cheers,Angus.
h.d. pfeffer wrote:
>
> 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
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Microsoft's system was like a forest that hadn't had a controlled burn in decades, just waiting for one person with a match to turn it into a disaster. Melissa was Microsoft's fault. They left their system wide open to this sort of abuse, they knew it could happen and did nothing." -- Bruce PerensFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Thu May 06 1999 - 12:03:47 PDT