[ODE] are force accumulators zeroed if body is disabled?

Si Brown si at sjbrown.co.uk
Fri Jun 14 04:12:01 2002


Hi David,

>also, i have some memory leaks.  for example, dSphereClass never gets 
>freed.  i don't see anywhere in ode that takes care of freeing 
>dSphereClass.  Am I missing something?
>
>[snip]

dGeomDestroy destroys any geometry class in a generic manner. It does so by 
removing it from the space, calling the class destructor (null for 
dSphereClass) and freeing the memory used by the class.

Also, destroying a space using dSpaceDestroy automatically calls 
dGeomDestroy on every geometry object in that space.

Hope that helps,
Simon


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.