aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2018-09-25 11:33:48 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2018-09-25 11:33:48 -0500
commitad993f2926db6fe4ba2c75e17c4f099d9d853038 (patch)
tree426f831e7aa870a4704b8dd082538ff292e751f9 /PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h
parentPhysX 3.4, APEX 1.4 patch release @24698370 (diff)
downloadphysx-3.4-ad993f2926db6fe4ba2c75e17c4f099d9d853038.tar.xz
physx-3.4-ad993f2926db6fe4ba2c75e17c4f099d9d853038.zip
PhysX 3.4, APEX 1.4 patch release @24990349
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h')
-rw-r--r--PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h b/PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h
index b69825dd..a2603361 100644
--- a/PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h
+++ b/PhysX_3.4/Source/LowLevelAABB/include/BpBroadPhase.h
@@ -225,7 +225,7 @@ public:
/**
\brief Shutdown of the broadphase.
*/
- virtual void destroy() = 0;
+ virtual void destroy() = 0;
/**
\brief Update the broadphase and compute the lists of created/deleted pairs.
@@ -311,10 +311,12 @@ public:
virtual bool isValid(const BroadPhaseUpdateData& updateData) const = 0;
#endif
- virtual BroadPhasePair* getBroadPhasePairs() const = 0;
+ virtual BroadPhasePair* getBroadPhasePairs() const = 0;
- virtual void deletePairs() = 0;
+ virtual void deletePairs() = 0;
+ // PT: for unit-testing the non-GPU versions
+ virtual void singleThreadedUpdate(PxcScratchAllocator* /*scratchAllocator*/, const BroadPhaseUpdateData& /*updateData*/){}
};
} //namespace Bp