aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2018-11-27 13:02:50 -0600
committerSheikh Dawood Abdul Ajees <[email protected]>2018-11-27 13:02:50 -0600
commit78cab22a61786a23f2ee1ad7c5dcbec0024befca (patch)
tree27cb86e3add785670ddfdbfc901f1654d74d1cb2 /PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h
parentPhysX 3.4, APEX 1.4 patch release @24990349 (diff)
downloadphysx-3.4-78cab22a61786a23f2ee1ad7c5dcbec0024befca.tar.xz
physx-3.4-78cab22a61786a23f2ee1ad7c5dcbec0024befca.zip
PhysX 3.4, APEX 1.4 patch release @25256367
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h')
-rw-r--r--PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h5
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);
}