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) { //... }
> }
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.