diff options
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h')
| -rw-r--r-- | PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h b/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h index f46c7ff4..2e563c1d 100644 --- a/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h +++ b/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h @@ -345,6 +345,7 @@ namespace Bp bool addBounds(BoundsIndex index, PxReal contactDistance, Bp::FilterGroup::Enum group, void* userdata, AggregateHandle aggregateHandle, PxU8 volumeType); void reserveSpaceForBounds(BoundsIndex index); void removeBounds(BoundsIndex index); + PX_FORCE_INLINE Ps::IntBool isMarkedForRemove(BoundsIndex index) const { return mRemovedHandleMap.boundedTest(index); } void setContactOffset(BoundsIndex handle, PxReal offset) { @@ -430,7 +431,7 @@ namespace Bp PX_FORCE_INLINE void* getUserData(const BoundsIndex index) const { if (index < mVolumeData.size()) return mVolumeData[index].getUserData(); return NULL; } PX_FORCE_INLINE PxU64 getContextId() const { return mContextID; } - void postBroadPhase(PxBaseTask*, PxBaseTask* narrowPhaseUnlockTask, Cm::FlushPool& flushPool); + void postBroadPhase(PxBaseTask*, PxBaseTask* narrowPhaseUnlockTask, Cm::FlushPool& flushPool); @@ -471,7 +472,7 @@ namespace Bp PX_FORCE_INLINE void addBPEntry(BoundsIndex index) { if(mRemovedHandleMap.test(index)) - mRemovedHandleMap.reset(index); + mRemovedHandleMap.reset(index); else mAddedHandleMap.set(index); } |