NewtonBodyIterator

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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