NewtonWorldGetFirstBody

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

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