[ODE] freeing trimesh memory

Marco Grubert mgrubert at conitec.net
Wed Mar 30 15:28:41 MST 2005


> When I do dWorldDestroy does it free the memory that was allocated and
> passed to dGeomTriMeshDataBuildSingle?  Or, should I keep pointers
> around and free/delete it manually at the end?

ode does not do cleanup for the vertex/index data. You have to do that 
manually, or overwrite the destructor of dxTriMesh and have it delete the 
data.

- Marco Grubert 



More information about the ODE mailing list