Newton Dynamics  4.00
ndRayCastNotify Class Referenceabstract
Inheritance diagram for ndRayCastNotify:
ndClassAlloc ndRayCastClosestHitCallback

Public Member Functions

D_COLLISION_API bool TraceShape (const ndVector &globalOrigin, const ndVector &globalDestination, const ndShapeInstance &shapeInstance, const ndMatrix &shapeGlobal)
 
virtual ndUnsigned32 OnRayPrecastAction (const ndBody *const, const ndShapeInstance *const)
 
virtual ndFloat32 OnRayCastAction (const ndContactPoint &contact, ndFloat32 intersetParam)=0
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Public Attributes

ndContactPoint m_contact
 
ndFloat32 m_param
 

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.