[ODE] dMarix3
Vrej Melkonian
vmelkon at yahoo.com
Thu Dec 22 19:18:34 MST 2005
You should have a look at the sample codes.
dMatrix3 R;
dRFromAxisAndAngle(R, 0.0, 0.0, 1.0, angle);
and there are a few other such functions too.
The matrix is a 3x4 matrix and last time I checked,
dRFromAxisAndAngle didn't set the last column but that
isn't a problem.
--- Roger Tober <rjtober at grantsburgtelcom.net> 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
>
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
More information about the ODE
mailing list