[ODE] Re: Heightfield / Collision.

Clint Brewer clint at haptek.com
Tue Feb 18 10:58:02 2003


> something like:
>
> /**
>       x,y,z  the point of interest
>    numTris  is set to the number of tris placed in the triData array
>    triData  is a dReal[3*maxTris]  to be filled with data bout a 
> terrain at a point.
>    maxTris,  the maximum number of tris triData can hold
> */
> void getTerrainCollisionGeometry at point( dReal x, dReal y, dReal z,  
> int* numTris, dReal* triData, int maxTris )


err.. triData  is a dReal[3*3*maxTris]
:)