22 #define USE_PERSISTENT_CONTACTS 1
58 #ifndef USE_PERSISTENT_CONTACTS
60 #endif //USE_PERSISTENT_CONTACTS
70 #ifdef USE_PERSISTENT_CONTACTS
76 #endif //USE_PERSISTENT_CONTACTS
virtual void releaseManifold(btPersistentManifold *manifold)=0
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 ...
void setPersistentManifold(btPersistentManifold *manifoldPtr)
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
This class is not enabled yet (work-in-progress) to more aggressively activate objects.
void refreshContactPoints()
btManifoldResult is a helper class to manage contact results.
class btIDebugDraw * m_debugDraw
btDispatcher * m_dispatcher
virtual btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
const btTransform & getWorldTransform() const
btCollisionObject can be used to manage collision detection objects.
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
virtual btPersistentManifold * getNewManifold(const btCollisionObject *b0, const btCollisionObject *b1)=0
btBoxBoxCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo &ci)
const btCollisionShape * getCollisionShape() const
The btBoxShape is a box primitive around the origin, its sides axis aligned with length specified by ...
virtual ~btBoxBoxCollisionAlgorithm()
btPersistentManifold * m_manifoldPtr
virtual bool needsCollision(const btCollisionObject *body0, const btCollisionObject *body1)=0
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
const btCollisionObject * getCollisionObject() const