16 #ifndef BT_CONVEX_2D_CONVEX_2D_ALGORITHM_H 17 #define BT_CONVEX_2D_CONVEX_2D_ALGORITHM_H 57 if (m_manifoldPtr && m_ownManifold)
92 #endif //BT_CONVEX_2D_CONVEX_2D_ALGORITHM_H int m_minimumPointsPerturbationThreshold
btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...
void push_back(const T &_Val)
The convex2dConvex2dAlgorithm collision algorithm support 2d collision detection for btConvex2dShape ...
ConvexPenetrationDepthSolver provides an interface for penetration depth calculation.
This class is not enabled yet (work-in-progress) to more aggressively activate objects.
virtual btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
btManifoldResult is a helper class to manage contact results.
btPersistentManifold * m_manifoldPtr
#define btSimplexSolverInterface
virtual void * allocateCollisionAlgorithm(int size)=0
Used by the btCollisionDispatcher to register and create instances for btCollisionAlgorithm.
int m_numPerturbationIterations
btCollisionObject can be used to manage collision detection objects.
btSimplexSolverInterface * m_simplexSolver
CreateFunc(btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *pdSolver)
const btPersistentManifold * getManifold()
btConvex2dConvex2dAlgorithm(btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *pdSolver, int numPerturbationIterations, int minimumPointsPerturbationThreshold)
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual ~btConvex2dConvex2dAlgorithm()
virtual btCollisionAlgorithm * CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
btSimplexSolverInterface * m_simplexSolver
btPersistentManifold * m_manifold
btConvexPenetrationDepthSolver * m_pdSolver
btDispatcher * m_dispatcher1
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatche...
void setLowLevelOfDetail(bool useLowLevel)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btConvexPenetrationDepthSolver * m_pdSolver
virtual void getAllContactManifolds(btManifoldArray &manifoldArray)