NewtonBodyIterator

From Newton Wiki
Jump to: navigation, search

NewtonBodyIterator

typedef int (*NewtonBodyIterator) (const NewtonBody* const body, void* const userData)

Usage

This callback is called by NewtonWorldForEachBodyInAABBDo whenever a body intresecting the specified AABB is found.

Return

  • You should return 1 if you with to receive further callbacks, and 0 to stop further callbacks.

Parameters

Remarks

  • This is not a library function, but a callback event.

See also

NewtonWorldForEachBodyInAABBDo