#include <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 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 146 of file btTransformUtil.h.
btConvexSeparatingDistanceUtil::btConvexSeparatingDistanceUtil | ( | btScalar | boundingRadiusA, |
btScalar | boundingRadiusB | ||
) | [inline] |
Definition at line 161 of file btTransformUtil.h.
Definition at line 168 of file btTransformUtil.h.
void btConvexSeparatingDistanceUtil::initSeparatingDistance | ( | const btVector3 & | separatingVector, |
btScalar | separatingDistance, | ||
const btTransform & | transA, | ||
const btTransform & | transB | ||
) | [inline] |
Definition at line 205 of file btTransformUtil.h.
void btConvexSeparatingDistanceUtil::updateSeparatingDistance | ( | const btTransform & | transA, |
const btTransform & | transB | ||
) | [inline] |
Definition at line 173 of file btTransformUtil.h.
Definition at line 155 of file btTransformUtil.h.
Definition at line 156 of file btTransformUtil.h.
Definition at line 148 of file btTransformUtil.h.
Definition at line 149 of file btTransformUtil.h.
btVector3 btConvexSeparatingDistanceUtil::m_posA [private] |
Definition at line 150 of file btTransformUtil.h.
btVector3 btConvexSeparatingDistanceUtil::m_posB [private] |
Definition at line 151 of file btTransformUtil.h.
Definition at line 157 of file btTransformUtil.h.
btVector3 btConvexSeparatingDistanceUtil::m_separatingNormal [private] |
Definition at line 153 of file btTransformUtil.h.