#include <BuoyantShapeConvexCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
Public Member Functions | |
BuoyantShapeConvexCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *col0, btCollisionObject *col1, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *pdSolver, bool isSwapped, int proxyType) | |
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 | ~BuoyantShapeConvexCollisionAlgorithm () |
Private Attributes | |
btCollisionAlgorithm * | m_collisionAlgorithm |
btCollisionObject * | m_collisionObject0 |
btCollisionObject * | m_collisionObject1 |
bool | m_isSwapped |
for convex vs buoyant (instead of buoyant vs convex), we use this swapped boolean | |
int | m_proxyType |
experimental buyancy fluid demo btHfFluidBuoyantShapeCollisionAlgorithm provides collision detection between btHfFluidBuoyantConvexShape and btConvexShape
Definition at line 26 of file BuoyantShapeConvexCollisionAlgorithm.h.
BuoyantShapeConvexCollisionAlgorithm::BuoyantShapeConvexCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci, |
btCollisionObject * | col0, | ||
btCollisionObject * | col1, | ||
btSimplexSolverInterface * | simplexSolver, | ||
btConvexPenetrationDepthSolver * | pdSolver, | ||
bool | isSwapped, | ||
int | proxyType | ||
) |
Definition at line 19 of file BuoyantShapeConvexCollisionAlgorithm.cpp.
Definition at line 45 of file BuoyantShapeConvexCollisionAlgorithm.cpp.
btScalar BuoyantShapeConvexCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Definition at line 76 of file BuoyantShapeConvexCollisionAlgorithm.cpp.
virtual void BuoyantShapeConvexCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [inline, virtual] |
Definition at line 50 of file BuoyantShapeConvexCollisionAlgorithm.h.
void BuoyantShapeConvexCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, |
btCollisionObject * | body1, | ||
const btDispatcherInfo & | dispatchInfo, | ||
btManifoldResult * | resultOut | ||
) | [virtual] |
Definition at line 49 of file BuoyantShapeConvexCollisionAlgorithm.cpp.
btCollisionAlgorithm* BuoyantShapeConvexCollisionAlgorithm::m_collisionAlgorithm [private] |
Definition at line 35 of file BuoyantShapeConvexCollisionAlgorithm.h.
btCollisionObject* BuoyantShapeConvexCollisionAlgorithm::m_collisionObject0 [private] |
Definition at line 28 of file BuoyantShapeConvexCollisionAlgorithm.h.
btCollisionObject* BuoyantShapeConvexCollisionAlgorithm::m_collisionObject1 [private] |
Definition at line 29 of file BuoyantShapeConvexCollisionAlgorithm.h.
bool BuoyantShapeConvexCollisionAlgorithm::m_isSwapped [private] |
for convex vs buoyant (instead of buoyant vs convex), we use this swapped boolean
Definition at line 32 of file BuoyantShapeConvexCollisionAlgorithm.h.
int BuoyantShapeConvexCollisionAlgorithm::m_proxyType [private] |
Definition at line 33 of file BuoyantShapeConvexCollisionAlgorithm.h.