Newton Dynamics  4.00
ndAabbPolygonSoup::ndNode Class Reference
Inheritance diagram for ndAabbPolygonSoup::ndNode:
ndAabbPolygonSoup::ndNodeBuilder

Classes

class  ndLeafNodePtr
 

Public Types

enum  ndNodeType { m_binary = 0, m_leaf }
 

Public Member Functions

ndFloat32 RayDistance (const ndFastRay &ray, const ndTriplex *const vertexArray) const
 
ndFloat32 BoxPenetration (const ndFastAabb &obb, const ndTriplex *const vertexArray) const
 
ndFloat32 BoxIntersect (const ndFastRay &ray, const ndFastRay &obbRay, const ndFastAabb &obb, const ndTriplex *const vertexArray) const
 

Public Attributes

ndInt32 m_indexBox0
 
ndInt32 m_indexBox1
 
ndLeafNodePtr m_left
 
ndLeafNodePtr m_right