> 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? Cheers, Vadim.