aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp
diff options
context:
space:
mode:
authorSheikh Dawood <[email protected]>2018-05-25 09:54:38 -0500
committerSheikh Dawood <[email protected]>2018-05-25 09:54:38 -0500
commitb99b3783cd7e3fb1bb0a07dc472b2fc000c4cdc1 (patch)
treede67d7adc7cc66d44c3e0a399d94d1db6bcebd0c /PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp
parentPhysX 3.4, APEX 1.4 patch release @23933511 (diff)
downloadphysx-3.4-b99b3783cd7e3fb1bb0a07dc472b2fc000c4cdc1.tar.xz
physx-3.4-b99b3783cd7e3fb1bb0a07dc472b2fc000c4cdc1.zip
PhysX 3.4, APEX 1.4 patch release @24214033v3.4.2
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp')
-rw-r--r--PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp b/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp
index a68fe607..5ced7e0e 100644
--- a/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp
+++ b/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhase.cpp
@@ -23,11 +23,10 @@
// components in life support devices or systems without express written approval of
// NVIDIA Corporation.
//
-// Copyright (c) 2008-2017 NVIDIA Corporation. All rights reserved.
+// Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved.
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
-
#include "BpBroadPhase.h"
#include "BpBroadPhaseSap.h"
#include "BpBroadPhaseMBP.h"
@@ -58,9 +57,7 @@ bool BroadPhaseUpdateData::isValid(const BroadPhaseUpdateData& updateData, const
{
return (updateData.isValid() && bp.isValid(updateData));
}
-#endif
-#if PX_CHECKED
bool BroadPhaseUpdateData::isValid() const
{
const BpHandle* created=getCreatedHandles();
@@ -70,7 +67,6 @@ bool BroadPhaseUpdateData::isValid() const
const PxU32 updatedSize=getNumUpdatedHandles();
const PxU32 removedSize=getNumRemovedHandles();
const PxBounds3* bounds=getAABBs();
- const BpHandle* groups=getGroups();
const PxU32 boxesCapacity=getCapacity();
if(NULL==created && createdSize>0)
@@ -125,10 +121,6 @@ bool BroadPhaseUpdateData::isValid() const
return false;
#endif
}
-
- //Group ids must be less than BP_INVALID_BP_HANDLE.
- if(groups[created[i]]>=BP_INVALID_BP_HANDLE)
- return false;
}
for(PxU32 i=0;i<updatedSize;i++)
@@ -165,10 +157,6 @@ bool BroadPhaseUpdateData::isValid() const
return false;
#endif
}
-
- //Group ids must be less than BP_INVALID_BP_HANDLE.
- if(groups[updated[i]]>=BP_INVALID_BP_HANDLE)
- return false;
}
for(PxU32 i=0;i<removedSize;i++)