r * p * h

Brent Gulanowski <[email protected]> Fri, 12 Jul 2002 13:02:11 -0400
Newsgroups gmane.comp.gnu.3dkit.general
Message-ID <[email protected]>
In the function G3DMakeEulerTransform4f, this comment:

   /*
    * Euler(h,p,r) := Rz(r) * Rx(p) * Ry(h)
    *
    */

doesn't seem to be supported by the code which follows, where the angles 
are applied

Ry(h) * Rx(p) * Rz(r) -- where multiplication is done right to left, these 
being matrices.

I think the convention is reflected in the comment, not in the code. 
Alternately, please explain how the existing setup is best used.

Thanks,

Brent
--
Inkubator: creating free, open source Mac games.
http://inkubator.idevgames.com - homepage
http://www.sourceforge.net/project/inkubator - project page
http://64.246.17.165/forum/forumdisplay.php?s=&forumid=17 - discussion 
forums