#include <btSphereBoxCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
Public Member Functions | |
btSphereBoxCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *col0, btCollisionObject *col1, bool isSwapped) | |
virtual btScalar | calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual void | getAllContactManifolds (btManifoldArray &manifoldArray) |
btScalar | getSphereDistance (btCollisionObject *boxObj, btVector3 &v3PointOnBox, btVector3 &v3PointOnSphere, const btVector3 &v3SphereCenter, btScalar fRadius) |
btScalar | getSpherePenetration (btCollisionObject *boxObj, btVector3 &v3PointOnBox, btVector3 &v3PointOnSphere, const btVector3 &v3SphereCenter, btScalar fRadius, const btVector3 &aabbMin, const btVector3 &aabbMax) |
virtual void | processCollision (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual | ~btSphereBoxCollisionAlgorithm () |
Private Attributes | |
bool | m_isSwapped |
btPersistentManifold * | m_manifoldPtr |
bool | m_ownManifold |
btSphereBoxCollisionAlgorithm provides sphere-box collision detection. Other features are frame-coherency (persistent data) and collision response.
Definition at line 29 of file btSphereBoxCollisionAlgorithm.h.
btSphereBoxCollisionAlgorithm::btSphereBoxCollisionAlgorithm | ( | btPersistentManifold * | mf, |
const btCollisionAlgorithmConstructionInfo & | ci, | ||
btCollisionObject * | col0, | ||
btCollisionObject * | col1, | ||
bool | isSwapped | ||
) |
virtual btSphereBoxCollisionAlgorithm::~btSphereBoxCollisionAlgorithm | ( | ) | [virtual] |
virtual btScalar btSphereBoxCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
virtual void btSphereBoxCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [inline, virtual] |
Implements btCollisionAlgorithm.
Definition at line 45 of file btSphereBoxCollisionAlgorithm.h.
btScalar btSphereBoxCollisionAlgorithm::getSphereDistance | ( | btCollisionObject * | boxObj, |
btVector3 & | v3PointOnBox, | ||
btVector3 & | v3PointOnSphere, | ||
const btVector3 & | v3SphereCenter, | ||
btScalar | fRadius | ||
) |
btScalar btSphereBoxCollisionAlgorithm::getSpherePenetration | ( | btCollisionObject * | boxObj, |
btVector3 & | v3PointOnBox, | ||
btVector3 & | v3PointOnSphere, | ||
const btVector3 & | v3SphereCenter, | ||
btScalar | fRadius, | ||
const btVector3 & | aabbMin, | ||
const btVector3 & | aabbMax | ||
) |
virtual void btSphereBoxCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
bool btSphereBoxCollisionAlgorithm::m_isSwapped [private] |
Definition at line 33 of file btSphereBoxCollisionAlgorithm.h.
btPersistentManifold* btSphereBoxCollisionAlgorithm::m_manifoldPtr [private] |
Definition at line 32 of file btSphereBoxCollisionAlgorithm.h.
bool btSphereBoxCollisionAlgorithm::m_ownManifold [private] |
Definition at line 31 of file btSphereBoxCollisionAlgorithm.h.