NewtonWorldForEachJointDo
Contents
NewtonWorldForEachJointDo
void NewtonWorldForEachJointDo (const NewtonWorld* const newtonWorld, NewtonJointIterator callback, void* const userData)
Usage
Iterates thought every joint in the world calling the function callback.
Parameters
- const NewtonWorld *newtonWorld - is the pointer to the Newton world.
- NewtonJointIterator callback - application defined callback.
Return
- Nothing.
Description
Iterates thought every joint in the world calling the function callback.
The callback function receives a pointer to the joint as parameter.
Remarks
- The application should provide the function *NewtonJointIterator callback* to be called by Newton for every joint in the world.
- Note that this function is primarily for debugging. The performance penalty for calling it is high.