typedef int (*NewtonBodyIterator) (const NewtonBody* const body, void* const userData)
This callback is called by NewtonWorldForEachBodyInAABBDo whenever a body intresecting the specified AABB is found.
- You should return 1 if you with to receive further callbacks, and 0 to stop further callbacks.
- const NewtonBody* body - body which was found by the iterator
- void* userData - userdata parameter from the NewtonWorldForEachBodyInAABBDo call.
- This is not a library function, but a callback event.