|
From: Markus R. <rol...@un...> - 2007-05-03 17:48:04
|
Jan Murray wrote: [...] > I tried without success. :-( > I get an "undefined reference to `oxygen::ODEObject::GetSpaceID()'" > during make in the "app/*" subdirs. There were two errors: The GetSpaceID() declaration in odeobject.h was obsolote but still used from collider.cpp. I changed that. Does it at least compile now ? ;) > It looks like GetSpaceID() is declared (in odeobject.h), but not defined > (The same is true in simspark/spark.) I'll check that. > BTW, GetParentSpaceID() always returns 0. Is this correct? only Collider and Space objects have parent spaces (bodies don't). The common base class of both is ODEObject. Therefore the base class returns 0, collider and space both use the dGeomGetSpace function (they implement identical functions). Maybe we could add a common base class to Space and Collider below ODEObject (OdeGeomObject?) to merge common methods between Space and Collider classes. Cheers, Markus |