Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
87 manifold->~btPersistentManifold();
114 for (
int i = iBegin; i < iEnd; ++i)
133 updater.
mInfo = &info;
143 for (
int i = 0; i < pairCount; ++i)
btPoolAllocator * m_persistentManifoldPoolAllocator
btCollisionObject can be used to manage collision detection objects.
void(* btNearCallback)(btBroadphasePair &collisionPair, btCollisionDispatcher &dispatcher, const btDispatcherInfo &dispatchInfo)
user can override this nearcallback for collision filtering and more finegrained control over collisi...
btNearCallback getNearCallback() const
#define btAlignedFree(ptr)
btAlignedObjectArray< btPersistentManifold * > m_manifoldsPtr
virtual btScalar getContactBreakingThreshold(btScalar defaultContactThresholdFactor) const
btCollisionDispatcher * mDispatcher
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btDispatcher interface class can be used in combination with broadphase to dispatch calculations ...
virtual int getNumOverlappingPairs() const =0
virtual void clearManifold(btPersistentManifold *manifold)
btCollisionDispatcherMt(btCollisionConfiguration *config, int grainSize=40)
#define btAlignedAlloc(size, alignment)
virtual btPersistentManifold * getNewManifold(const btCollisionObject *body0, const btCollisionObject *body1) BT_OVERRIDE
void freeMemory(void *ptr)
btCollisionDispatcher supports algorithms that handle ConvexConvex and ConvexConcave collision pairs.
CollisionDispatcherUpdater()
const T & btMin(const T &a, const T &b)
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatche...
void swap(int index0, int index1)
The btOverlappingPairCache provides an interface for overlapping pair management (add,...
virtual btBroadphasePair * getOverlappingPairArrayPtr()=0
virtual void releaseManifold(btPersistentManifold *manifold) BT_OVERRIDE
btScalar getContactProcessingThreshold() const
void * allocate(int size)
btPersistentManifold is a contact point cache, it stays persistent as long as objects are overlapping...
btBroadphasePair * mPairArray
void btParallelFor(int iBegin, int iEnd, int grainSize, const btIParallelForBody &body)
const btDispatcherInfo * mInfo
virtual void dispatchAllCollisionPairs(btOverlappingPairCache *pairCache, const btDispatcherInfo &info, btDispatcher *dispatcher) BT_OVERRIDE
void forLoop(int iBegin, int iEnd) const
void resizeNoInitialize(int newsize)
resize changes the number of elements in the array.
btScalar gContactBreakingThreshold
void push_back(const T &_Val)
btCollisionConfiguration allows to configure Bullet collision detection stack allocator size,...
The btBroadphasePair class contains a pair of aabb-overlapping objects.
int size() const
return the number of elements in the array
const btCollisionShape * getCollisionShape() const