Newton Dynamics  4.00
ndCudaBodyProxy Class Reference

Public Member Functions

ndCudaMatrix3x3 __device__ CalculateInvInertiaMatrix (const ndCudaMatrix3x3 &matrix) const
 
void __device__ AddDampingAcceleration (const ndCudaMatrix3x3 &matrix)
 
void __device__ IntegrateExternalForce (const ndCudaMatrix3x3 &matrix, float timestep)
 
void __device__ IntegrateVelocity (float timestep)
 
void ProxyToBody (void *const) const
 

Public Attributes

ndCudaQuat m_rotation
 
ndCudaVector m_posit
 
ndCudaVector m_veloc
 
ndCudaVector m_omega
 
ndCudaQuat m_globalSphapeRotation
 
ndCudaVector m_globalSphapePosition
 
ndCudaVector m_minAabb
 
ndCudaVector m_maxAabb
 
ndCudaVector m_mass
 
ndCudaVector m_dampCoef
 
ndCudaVector m_invIntertia
 
ndCudaVector m_obbSize
 
ndCudaVector m_obbOrigin
 
ndCudaVector m_scale
 
ndCudaVector m_localPosition
 
ndCudaQuat m_localRotation
 
ndCudaQuat m_alignRotation