[Fluxus] Rotation Matrix issue

Dave Griffiths dave at pawfal.org
Sat Mar 21 15:25:57 PDT 2009


Hi Scott,

On Fri, 2009-03-20 at 13:48 -0700, Scott wrote:
> Well - since you asked (but this is truly a nit, since it's consistent)
> 
> The matrix derived from Quaternion rotation is backwards with respect
> to ones computed by the rotate(). One reason could be that the Matrix
> constructor that takes 16 values looks like it's col-major order. I
> think this is just in the quat-to-matrix code.

Looks good to me, I've transposed the matrix in dQuat::toMatrix() and
they match now. As as it's 'break compatibility week' - feel free to
commit stuff like this btw :)

cheers,

dave




More information about the Fluxus mailing list