Blender
V3.3
|
btCompoundCompoundCollisionAlgorithm supports collision between two btCompoundCollisionShape shapes More...
#include <btCompoundCompoundCollisionAlgorithm.h>
Classes | |
struct | CreateFunc |
struct | SwappedCreateFunc |
Additional Inherited Members | |
![]() | |
void | removeChildAlgorithms () |
void | preallocateChildAlgorithms (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap) |
![]() | |
btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci) | |
btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap) | |
![]() | |
btAlignedObjectArray< btCollisionAlgorithm * > | m_childCollisionAlgorithms |
bool | m_isSwapped |
class btPersistentManifold * | m_sharedManifold |
bool | m_ownsManifold |
int | m_compoundShapeRevision |
![]() | |
btDispatcher * | m_dispatcher |
btCompoundCompoundCollisionAlgorithm supports collision between two btCompoundCollisionShape shapes
Definition at line 40 of file btCompoundCompoundCollisionAlgorithm.h.
btCompoundCompoundCollisionAlgorithm::btCompoundCompoundCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci, |
const btCollisionObjectWrapper * | body0Wrap, | ||
const btCollisionObjectWrapper * | body1Wrap, | ||
bool | isSwapped | ||
) |
Definition at line 32 of file btCompoundCompoundCollisionAlgorithm.cpp.
References btAlignedAlloc, btAssert, btCompoundShape(), btCollisionObjectWrapper::getCollisionShape(), and ptr.
Referenced by btCompoundCompoundCollisionAlgorithm::CreateFunc::CreateCollisionAlgorithm(), and btCompoundCompoundCollisionAlgorithm::SwappedCreateFunc::CreateCollisionAlgorithm().
|
virtual |
Definition at line 51 of file btCompoundCompoundCollisionAlgorithm.cpp.
References btAlignedFree, and btHashedSimplePairCache::~btHashedSimplePairCache().
|
virtual |
Reimplemented from btCompoundCollisionAlgorithm.
Definition at line 409 of file btCompoundCompoundCollisionAlgorithm.cpp.
References btAssert.
|
virtual |
Reimplemented from btCompoundCollisionAlgorithm.
Definition at line 58 of file btCompoundCompoundCollisionAlgorithm.cpp.
References btHashedSimplePairCache::getOverlappingPairArray(), m_userPointer, and btAlignedObjectArray< T >::size().
|
virtual |
btCompoundShape might have changed: /make sure the internal child collision algorithm caches are still valid
clear all
we need to refresh all contact manifolds note that we should actually recursively traverse all children, btCompoundShape can nested more then 1 level deep so we should add a 'refreshManifolds' in the btCollisionAlgorithm
Reimplemented from btCompoundCollisionAlgorithm.
Definition at line 285 of file btCompoundCompoundCollisionAlgorithm.cpp.
References btAssert, btCollisionShape, btCompoundShape(), btPersistentManifold(), btTransform, btVector3, callback, btAlignedObjectArray< T >::clear(), btDispatcher::freeCollisionAlgorithm(), btCollisionAlgorithm::getAllContactManifolds(), btCollisionObjectWrapper::getCollisionShape(), getNumContacts(), btHashedSimplePairCache::getOverlappingPairArray(), btCollisionObjectWrapper::getWorldTransform(), btAlignedObjectArray< T >::initializeFromBuffer(), btManifoldResult::m_closestPointDistanceThreshold, btCollisionAlgorithm::m_dispatcher, btDbvt::m_root, btCompoundCollisionAlgorithm::m_sharedManifold, m_userPointer, MycollideTT(), btCompoundCollisionAlgorithm::processCollision(), btAlignedObjectArray< T >::push_back(), btManifoldResult::refreshContactPoints(), btHashedSimplePairCache::removeOverlappingPair(), btAlignedObjectArray< T >::resize(), btManifoldResult::setPersistentManifold(), btAlignedObjectArray< T >::size(), TestAabbAgainstAabb2(), and btCollisionAlgorithm::~btCollisionAlgorithm().