ScummVM API documentation
dgCollisionCompound::dgNodeBase Class Reference

Public Member Functions

 dgNodeBase (dgCollisionConvex *const m_shape, dgInt32 id)
 
 dgNodeBase (dgNodeBase *const left, dgNodeBase *const right, dgInt32 id)
 
void reset ()
 
bool BoxTest (const OOBBTestData &data) const
 
bool BoxTest (const OOBBTestData &data, const dgNodeBase *const otherNode) const
 
dgFloat32 BoxClosestDistance (const dgVector *const points, dgInt32 count) const
 

Public Attributes

dgVector m_p0
 
dgVector m_p1
 
dgVector m_size
 
dgVector m_origin
 
dgInt32 m_type
 
dgInt32 m_id
 
dgFloat32 m_area
 
dgNodeBasem_left
 
dgNodeBasem_right
 
dgNodeBasem_parent
 
dgCollisionConvexm_shape
 

The documentation for this class was generated from the following file: