diff options
| author | Sheikh Dawood <[email protected]> | 2018-04-09 10:13:48 -0500 |
|---|---|---|
| committer | Sheikh Dawood <[email protected]> | 2018-04-09 10:13:48 -0500 |
| commit | 238605d8225a9135d6b60646e05d066e25424eee (patch) | |
| tree | 2b013bd4946bb3c699d7a06ef1f21be85d367f63 /PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h | |
| parent | Add ParamTool.exe (diff) | |
| download | physx-3.4-238605d8225a9135d6b60646e05d066e25424eee.tar.xz physx-3.4-238605d8225a9135d6b60646e05d066e25424eee.zip | |
PhysX 3.4, APEX 1.4 patch release @23879214
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h')
| -rw-r--r-- | PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h b/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h index 89e231c8..0cc146bc 100644 --- a/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h +++ b/PhysX_3.4/Source/LowLevelAABB/include/BpSimpleAABBManager.h @@ -67,7 +67,7 @@ namespace Bp typedef PxU32 AggregateHandle; // PT: currently an index in mAggregates array typedef PxU32 ActorHandle; - struct BroadPhasePairReport; + struct BroadPhasePair; struct VolumeBuckets { @@ -89,15 +89,16 @@ namespace Bp struct AABBOverlap { PX_FORCE_INLINE AABBOverlap() {} - PX_FORCE_INLINE AABBOverlap(void* userData0, void* userData1, ActorHandle pairHandle) : mUserData0(userData0), mUserData1(userData1), mPairHandle(pairHandle) {} + PX_FORCE_INLINE AABBOverlap(void* userData0, void* userData1/*, ActorHandle pairHandle*/) : mUserData0(userData0), mUserData1(userData1)/*, mPairHandle(pairHandle)*/, mPairUserData(NULL) {} void* mUserData0; void* mUserData1; - union +/* union { ActorHandle mPairHandle; //For created pairs, this is the index into the pair in the pair manager - void* mUserData; //For deleted pairs, this is the user data written by the application to the pair - }; + void* mPairUserData; //For deleted pairs, this is the user data written by the application to the pair + };*/ + void* mPairUserData; //For deleted pairs, this is the user data written by the application to the pair }; /* @@ -528,8 +529,8 @@ namespace Bp void updatePairs(PersistentPairs& p); void handleOriginShift(); public: - void processBPCreatedPair(const BroadPhasePairReport& pair); - void processBPDeletedPair(const BroadPhasePairReport& pair); + void processBPCreatedPair(const BroadPhasePair& pair); + void processBPDeletedPair(const BroadPhasePair& pair); // bool checkID(ShapeHandle id); friend class PersistentActorAggregatePair; friend class PersistentAggregateAggregatePair; |