Newton Dynamics  4.00
ndShapeInstance::ndDistanceCalculator Class Reference

Public Member Functions

 ndDistanceCalculator (ndScene *const scene)
 
 ndDistanceCalculator (ndScene *const scene, ndShapeInstance *const shape0, const ndMatrix &matrix0, ndShapeInstance *const shape1, const ndMatrix &matrix1)
 
D_COLLISION_API bool ClosestPoint ()
 

Public Attributes

ndMatrix m_matrix0
 
ndMatrix m_matrix1
 
ndVector m_point0
 
ndVector m_point1
 
ndVector m_normal
 
ndScenem_scene
 
ndShapeInstancem_shape0
 
ndShapeInstancem_shape1