[ODE] Tri-collider with current ODE collision code

Erwin de Vries erwin at vo.com
Sun May 25 06:36:02 2003


> > struct dxTriangle
> > {
> > char unused [sizeof (dxGeom)];
> > dReal x,y,z,d;
> > };
>
> Aggghhh, could we please avoid such ugly hacks? :)
>
> > The main problem is that tri-collider uses dCollideBoxPlane, and the
geom
> > that it passes to dCollideBoxPlane must be laid out in memory in a way
> > that matches dxPlane.
>
> Could you write a dCollideBoxTriangle instead of the above hack?

The beauty of open source is that you can do it yourself, and give others
the changes that you made.

Erwin