Newton Dynamics  4.00
ndFastRay Class Reference
Inheritance diagram for ndFastRay:
ndRay ndClassAlloc ndBvhRay

Public Member Functions

 ndFastRay (const ndVector &l0, const ndVector &l1)
 
ndInt32 BoxTest (const ndVector &minBox, const ndVector &maxBox) const
 
ndFloat32 BoxIntersect (const ndVector &minBox, const ndVector &maxBox) const
 
ndRay PointDistance (const ndVector &point) const
 
D_CORE_API ndRay RayDistance (const ndVector &ray_p0, const ndVector &ray_p1) const
 
D_CORE_API ndFloat32 PolygonIntersect (const ndVector &normal, ndFloat32 maxT, const ndFloat32 *const polygon, ndInt32 strideInBytes, const ndInt32 *const indexArray, ndInt32 indexCount) const
 
- Public Member Functions inherited from ndRay
 ndRay (const ndVector &l0, const ndVector &l1)
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

const ndVector m_diff
 
ndVector m_dpInv
 
ndVector m_minT
 
ndVector m_maxT
 
ndVector m_unitDir
 
ndVector m_isParallel
 
- Public Attributes inherited from ndRay
const ndVector m_p0
 
const ndVector m_p1
 

Additional Inherited Members

- Static Public Member Functions inherited from ndClassAlloc
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * Malloc (size_t size)
 Generic allocation for any function subclass from ndClassAlloc.
 
static D_CORE_API void Free (void *const ptr)
 Generic destruction for any function subclass from ndClassAlloc.