NewtonCollisionDestructor
NewtonCollisionDestructor
typedef void (*NewtonCollisionDestructor) (const NewtonWorld* world, const NewtonCollision* collision);
Usage
This callback is set using NewtonSetCollisionDestructor and will notify you whenever a newton collision is destroyed (when the collision reference count reaches zero - see NewtonAddCollisionReference and NewtonReleaseCollision)
Parameters
- const NewtonWorld* world - the newton world that the newton collision was created in.
- const NewtonCollision* collision - the newton collision which was freed.
Remarks
- This is not a library function, but a callback event.
See also
NewtonSetCollisionDestructor NewtonCollisionMakeUnique NewtonAddCollisionReference NewtonReleaseCollision