diff options
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/src/BpSimpleAABBManager.cpp')
| -rw-r--r-- | PhysX_3.4/Source/LowLevelAABB/src/BpSimpleAABBManager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/LowLevelAABB/src/BpSimpleAABBManager.cpp b/PhysX_3.4/Source/LowLevelAABB/src/BpSimpleAABBManager.cpp index 1e3cb164..ad3adf60 100644 --- a/PhysX_3.4/Source/LowLevelAABB/src/BpSimpleAABBManager.cpp +++ b/PhysX_3.4/Source/LowLevelAABB/src/BpSimpleAABBManager.cpp @@ -1617,6 +1617,14 @@ static void removeAggregateFromDirtyArray(Aggregate* aggregate, Ps::Array<Aggreg } } +void SimpleAABBManager::reserveSpaceForBounds(BoundsIndex index) +{ + if (index >= mVolumeData.size()) + reserveShapeSpace(index); + + resetEntry(index); //KS - make sure this entry is flagged as invalid +} + // PT: TODO: what is the "userData" here? bool SimpleAABBManager::addBounds(BoundsIndex index, PxReal contactDistance, PxU32 group, void* userData, AggregateHandle aggregateHandle, PxU8 volumeType) { |