#include <btSphereTriangleCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
Public Member Functions | |
btSphereTriangleCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *body0, btCollisionObject *body1, bool swapped) | |
btSphereTriangleCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci) | |
virtual btScalar | calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual void | getAllContactManifolds (btManifoldArray &manifoldArray) |
virtual void | processCollision (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut) |
virtual | ~btSphereTriangleCollisionAlgorithm () |
Private Attributes | |
btPersistentManifold * | m_manifoldPtr |
bool | m_ownManifold |
bool | m_swapped |
btSphereSphereCollisionAlgorithm provides sphere-sphere collision detection. Other features are frame-coherency (persistent data) and collision response. Also provides the most basic sample for custom/user btCollisionAlgorithm
Definition at line 28 of file btSphereTriangleCollisionAlgorithm.h.
btSphereTriangleCollisionAlgorithm::btSphereTriangleCollisionAlgorithm | ( | btPersistentManifold * | mf, |
const btCollisionAlgorithmConstructionInfo & | ci, | ||
btCollisionObject * | body0, | ||
btCollisionObject * | body1, | ||
bool | swapped | ||
) |
btSphereTriangleCollisionAlgorithm::btSphereTriangleCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci | ) | [inline] |
Definition at line 37 of file btSphereTriangleCollisionAlgorithm.h.
virtual btSphereTriangleCollisionAlgorithm::~btSphereTriangleCollisionAlgorithm | ( | ) | [virtual] |
virtual btScalar btSphereTriangleCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
virtual void btSphereTriangleCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [inline, virtual] |
Implements btCollisionAlgorithm.
Definition at line 44 of file btSphereTriangleCollisionAlgorithm.h.
virtual void btSphereTriangleCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Implements btCollisionAlgorithm.
btPersistentManifold* btSphereTriangleCollisionAlgorithm::m_manifoldPtr [private] |
Definition at line 31 of file btSphereTriangleCollisionAlgorithm.h.
bool btSphereTriangleCollisionAlgorithm::m_ownManifold [private] |
Definition at line 30 of file btSphereTriangleCollisionAlgorithm.h.
bool btSphereTriangleCollisionAlgorithm::m_swapped [private] |
Definition at line 32 of file btSphereTriangleCollisionAlgorithm.h.