NewtonBodyGetAABB

From Newton Wiki
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.