NewtonWorldGetBodyCount

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

NewtonWorldGetBodyCount

int NewtonWorldGetBodyCount(const NewtonWorld* const newtonWorld)

Usage

Returns the number of bodies in the world.

Parameters

  • const NewtonWorld* world - is the pointer to the Newton world.

Return

  • Number of bodies in the world.

Description

Returns the number of bodies in the world.

Remarks

Added in Newton 2.0

See also

NewtonWorldGetFirstBody NewtonWorldGetNextBody NewtonWorldGetConstraintCount