[ODE] dMarix3
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Thu Dec 22 10:57:11 MST 2005
dMatrix3 is just a pointer to 12 floats. Those floats are stored in row
major order, where the fourth colum doesn't matter (i e, you'd typically
put translation there if it were a 3x4 matrix).
Note that the storage order of, say, OpenGL, is diferent; it also puts
translation on the right, but stores matrices in column major order.
Cheers,
/ h+
Roger Tober wrote:
> Hi. I just started looking at ODE and this may be a dumb question, I
> did a short search in the archives and didn't see it. Anyway, there's a
> function to set Bodies by rotation but it takes an argument with
> dMatrix3 and I can't find anywhere how to initialize a dMatrix3 object
> with say an array of floats. I can't find an api really either, just
> the user guide.
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
More information about the ODE
mailing list