17 #ifndef BT_COMPOUND_COMPOUND_COLLISION_ALGORITHM_H
18 #define BT_COMPOUND_COMPOUND_COLLISION_ALGORITHM_H
45 int m_compoundShapeRevision0;
46 int m_compoundShapeRevision1;
48 void removeChildAlgorithms();
btCollisionShape
The btCollisionShape class provides an interface for collision shapes that can be shared among btColl...
bool(* btShapePairCallback)(const btCollisionShape *pShape0, const btCollisionShape *pShape1)
btShapePairCallback gCompoundCompoundChildShapePairCallback
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btCompoundCollisionAlgorithm supports collision between CompoundCollisionShapes and other collision s...
btCompoundCompoundCollisionAlgorithm supports collision between two btCompoundCollisionShape shapes
virtual void processCollision(const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
btScalar calculateTimeOfImpact(btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
btCompoundCompoundCollisionAlgorithm(const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped)
virtual ~btCompoundCompoundCollisionAlgorithm()
virtual void getAllContactManifolds(btManifoldArray &manifoldArray)
virtual void * allocateCollisionAlgorithm(int size)=0
btManifoldResult is a helper class to manage contact results.
btDispatcher * m_dispatcher1
Used by the btCollisionDispatcher to register and create instances for btCollisionAlgorithm.
virtual btCollisionAlgorithm * CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
virtual btCollisionAlgorithm * CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)