aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-04-25 16:02:08 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-04-25 16:02:08 -0500
commitd11708e398c2f6377d9eac2b1f7248c62faab569 (patch)
tree5778e794690c046ab4b0205d8f764960a5af168b /PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h
parentPhysX 3.4, APEX 1.4 patch release @21821222 (diff)
downloadphysx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.tar.xz
physx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.zip
PhysX 3.4, APEX 1.4 patch release @22017166
Diffstat (limited to 'PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h')
-rw-r--r--PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h b/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h
index 34c935ed..9d292c0f 100644
--- a/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h
+++ b/PhysX_3.4/Source/LowLevelAABB/src/BpBroadPhaseSap.h
@@ -60,13 +60,13 @@ class BroadPhaseBatchUpdateWorkTask: public Cm::Task
{
public:
- BroadPhaseBatchUpdateWorkTask()
- : Cm::Task(),
- mSap(NULL),
- mAxis(0xffffffff),
- mPairs(NULL),
- mPairsSize(0),
- mPairsCapacity(0)
+ BroadPhaseBatchUpdateWorkTask(PxU64 contextId=0) :
+ Cm::Task(contextId),
+ mSap(NULL),
+ mAxis(0xffffffff),
+ mPairs(NULL),
+ mPairsSize(0),
+ mPairsCapacity(0)
{
}
@@ -118,6 +118,7 @@ public:
virtual PxBroadPhaseType::Enum getType() const { return PxBroadPhaseType::eSAP; }
virtual void update(const PxU32 numCpuTasks, PxcScratchAllocator* scratchAllocator, const BroadPhaseUpdateData& updateData, physx::PxBaseTask* continuation, physx::PxBaseTask* narrowPhaseUnblockTask);
+ virtual void fetchBroadPhaseResults(physx::PxBaseTask*) {}
virtual PxU32 getNbCreatedPairs() const { return mCreatedPairsSize; }
virtual BroadPhasePairReport* getCreatedPairs() { return mCreatedPairsArray; }