Re: using a different collision library
"Jon Watte (ODE)" <[email protected]>
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
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) { //... }
> }
>
>