dGeomDestroy

@brief Destroy a geom, removing it from any space.

Destroy a geom, removing it from any space it is in first. This one function destroys a geom of any type, but to create a geom you must call a creation function for that type.

When a space is destroyed, if its cleanup mode is 1 (the default) then all the geoms in that space are automatically destroyed as well.

@param geom the geom to be destroyed. @ingroup collide

extern (C) nothrow
void
dGeomDestroy

Meta