gnu3dkit-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu3dkit-discuss] r * p * h


From: Brent Gulanowski
Subject: [Gnu3dkit-discuss] r * p * h
Date: Fri, 12 Jul 2002 13:02:11 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]