[ODE] Help using ODE with DirectX

Kaya Memisoglu k.memisoglu at majix.de
Thu Aug 26 21:22:49 MST 2004


> {
> verticesODE [0] =
> verticesODE [1] =
> verticesODE [2] =
> verticesODE [3] =
> verticesODE++;
> }
This won't work IMO, because verticesODE is a pointer
to an dVector3 array (each entry consits of 4 floats
(not 3 as I learnt today)), not a pointer to floats 
themselves.

So one should stick to the first version
> {
> verticesODE [i] [0] =
> verticesODE [i] [1] =
> verticesODE [i] [2] =
> verticesODE [i] [3] =
> }

Kaya



More information about the ODE mailing list