NewtonBodyGetAABB

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

NewtonBodyGetAABB

void NewtonBodyGetAABB( const NewtonBody* bodyPtr, dFloat* p0, dFloat* p1)

Usage

Get the world axis aligned bounding box (AABB) of the body.

Parameters

  • const NewtonBody *bodyPtr - is the pointer to the body.
  • dFloat *p0 - pointer to an array of at least three floats to hold minimum value for the AABB.
  • dFloat *p1 - pointer to an array of at least three floats to hold maximum value for the AABB.