[ODE] using a different collision library
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Thu Sep 27 11:18:24 MST 2007
If I remember correctly:
dGeomID is just a dGeom *. You should derive your proxy from dGeom, and
then treat any pointer-to-proxy as a dGeomID.
Cheers,
/ h+
Gregor Jochmann wrote:
> #include <ode/ode.h>
>
> typedef dcollide::Proxy* dGeomID;
>
> extern "C" {
> void dGeomMoved (dGeomID movedGeom) { //.... }
>
> dGeomID dGeomGetBodyNext (dGeomID geom) { //.... }
>
> void dGeomSetBody (dGeomID geom, dBodyID body) { //... }
> }
>
>
More information about the ODE
mailing list