[ODE] Help using ODE with DirectX

Kaya Memisoglu k.memisoglu at majix.de
Thu Aug 26 17:33:43 MST 2004


>
> Here's a quote directly from common.h:
>
> typedef dReal dVector3[4];

Oh, anyway the assignment in the loop was incorrect IMHO. It
took the address of temp and put it into verticesODE:
> 	verticesODE = &temp;

On the other hand, I still don't understand how this mistake
can make the app crash, because (at least in the code snippet)
the program did (mistakenly) never access the content pointed
to by (the ill pointer) verticesODE.

Maybe the FVF doesn't match the layout of the "Vertex" struct
in the code?

Kaya



More information about the ODE mailing list