Home
last modified time | relevance | path

Searched refs:mMapPairIdToPairIndex (Results 1 – 3 of 3) sorted by relevance

/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/include/reactphysics3d/engine/
H A DOverlappingPairs.h140 Map<uint64, uint64> mMapPairIdToPairIndex; variable
315 assert(mMapPairIdToPairIndex.containsKey(pairId)); in getCollider1()
316 assert(mMapPairIdToPairIndex[pairId] < mNbPairs); in getCollider1()
317 return mColliders1[mMapPairIdToPairIndex[pairId]]; in getCollider1()
322 assert(mMapPairIdToPairIndex.containsKey(pairId)); in getCollider2()
323 assert(mMapPairIdToPairIndex[pairId] < mNbPairs); in getCollider2()
324 return mColliders2[mMapPairIdToPairIndex[pairId]]; in getCollider2()
330 assert(mMapPairIdToPairIndex.containsKey(pairId)); in setIsPairActive()
331 assert(mMapPairIdToPairIndex[pairId] < mNbPairs); in setIsPairActive()
337 assert(mMapPairIdToPairIndex.containsKey(pairId)); in getPairIndex()
[all …]
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/engine/
H A DOverlappingPairs.cpp45 mMapPairIdToPairIndex(persistentMemoryAllocator), in OverlappingPairs()
128 assert(mMapPairIdToPairIndex.containsKey(pairId)); in removePair()
130 uint64 index = mMapPairIdToPairIndex[pairId]; in removePair()
282 assert(!mMapPairIdToPairIndex.containsKey(pairId)); in addPair()
352 assert(!mMapPairIdToPairIndex.containsKey(pairId)); in movePairToIndex()
399 assert(mMapPairIdToPairIndex[mPairIds[index1]] == index1); in swapPairs()
400 assert(mMapPairIdToPairIndex[mPairIds[index2]] == index2); in swapPairs()
409 assert(mMapPairIdToPairIndex[mPairIds[index]] == index); in destroyPair()
411 mMapPairIdToPairIndex.remove(mPairIds[index]); in destroyPair()
422 assert(mMapPairIdToPairIndex.containsKey(pairId)); in updateOverlappingPairIsActive()
[all …]
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/systems/
H A DCollisionDetectionSystem.cpp199 auto it = mOverlappingPairs.mMapPairIdToPairIndex.find(pairId); in updateOverlappingPairs()
200 if (it == mOverlappingPairs.mMapPairIdToPairIndex.end()) { in updateOverlappingPairs()
315 const uint64 pairIndex = mOverlappingPairs.mMapPairIdToPairIndex[pairId]; in computeMiddlePhaseCollisionSnapshot()
346 const uint64 pairIndex = mOverlappingPairs.mMapPairIdToPairIndex[pairId]; in computeMiddlePhaseCollisionSnapshot()
999 const uint64 pairIndex = mOverlappingPairs.mMapPairIdToPairIndex[pairId]; in processPotentialContacts()
1176 …ntity collider1 = mOverlappingPairs.mColliders1[mOverlappingPairs.mMapPairIdToPairIndex[manifold.p… in reducePotentialContactManifolds()