Difference between revisions of "NewtonWorldGetFirstBody"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

NewtonWorldGetFirstBody

NewtonBody* NewtonWorldGetFirstBody (const NewtonWorld* const newtonWorld)

Usage

Get the first body in the body in the world body list.

Parameters

  • const NewtonWorld* const newtonWorld

Return

  • NewtonBody*

Description

  • The application can call this function to iterate thought every body in the world.
  • The application call this function for debugging purpose

See also

NewtonWorldGetNextBody NewtonWorldForEachBodyInAABBDo NewtonWorldForEachJointDo