Logo Search packages:      
Sourcecode: blender version File versions  Download package

btConvexSeparatingDistanceUtil Class Reference

#include <btTransformUtil.h>

List of all members.

Detailed Description

The btConvexSeparatingDistanceUtil can help speed up convex collision detection by conservatively updating a cached separating distance/vector instead of re-calculating the closest distance

Definition at line 169 of file btTransformUtil.h.

Public Member Functions

 btConvexSeparatingDistanceUtil (btScalar boundingRadiusA, btScalar boundingRadiusB)
btScalar getConservativeSeparatingDistance ()
void initSeparatingDistance (const btVector3 &separatingVector, btScalar separatingDistance, const btTransform &transA, const btTransform &transB)
void updateSeparatingDistance (const btTransform &transA, const btTransform &transB)

Private Attributes

btScalar m_boundingRadiusA
btScalar m_boundingRadiusB
btQuaternion m_ornA
btQuaternion m_ornB
btVector3 m_posA
btVector3 m_posB
btScalar m_separatingDistance
btVector3 m_separatingNormal

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index