NewtonWorldSetDestructorCallBack
Contents
NewtonWorldSetDestructorCallBack
void NewtonWorldSetDestructorCallback (const NewtonWorld* const newtonWorld, NewtonWorldDestructorCallback destructor)
Usage
Assign an event function which will be called when the given Newton world is destroyed.
Parameters
- const NewtonWorld* newtonWorld - pointer to the Newton world.
- NewtonDestroyWorld destructor - pointer to a callback function used to handle the destruction of the Newton world.
Return
- Nothing.
Description
Assign an event function which will be called when the given Newton world is destroyed.
The event handler callback function receives a pointer to the Newton world as parameter.
Remarks
Added since Newton 2.0