22#define USE_PERSISTENT_CONTACTS 1
55#ifndef USE_PERSISTENT_CONTACTS
67#ifdef USE_PERSISTENT_CONTACTS
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
This class is not enabled yet (work-in-progress) to more aggressively activate objects.
btPersistentManifold * m_manifoldPtr
virtual btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
btBoxBoxCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo &ci)
virtual ~btBoxBoxCollisionAlgorithm()
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
The btBoxShape is a box primitive around the origin, its sides axis aligned with length specified by ...
btDispatcher * m_dispatcher
btCollisionObject can be used to manage collision detection objects.
virtual void releaseManifold(btPersistentManifold *manifold)=0
virtual bool needsCollision(const btCollisionObject *body0, const btCollisionObject *body1)=0
virtual btPersistentManifold * getNewManifold(const btCollisionObject *b0, const btCollisionObject *b1)=0
btManifoldResult is a helper class to manage contact results.
void setPersistentManifold(btPersistentManifold *manifoldPtr)
void refreshContactPoints()
btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...
btBoxBoxDetector wraps the ODE box-box collision detector re-distributed under the Zlib license with ...
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
const btCollisionShape * getCollisionShape() const
const btCollisionObject * getCollisionObject() const
const btTransform & getWorldTransform() const
class btIDebugDraw * m_debugDraw