diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-04-25 16:02:08 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-04-25 16:02:08 -0500 |
| commit | d11708e398c2f6377d9eac2b1f7248c62faab569 (patch) | |
| tree | 5778e794690c046ab4b0205d8f764960a5af168b /PhysX_3.4/Source/LowLevel/software/src/PxsSimpleIslandManager.cpp | |
| parent | PhysX 3.4, APEX 1.4 patch release @21821222 (diff) | |
| download | physx-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/LowLevel/software/src/PxsSimpleIslandManager.cpp')
| -rw-r--r-- | PhysX_3.4/Source/LowLevel/software/src/PxsSimpleIslandManager.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/PhysX_3.4/Source/LowLevel/software/src/PxsSimpleIslandManager.cpp b/PhysX_3.4/Source/LowLevel/software/src/PxsSimpleIslandManager.cpp index aeb83270..9f0fa050 100644 --- a/PhysX_3.4/Source/LowLevel/software/src/PxsSimpleIslandManager.cpp +++ b/PhysX_3.4/Source/LowLevel/software/src/PxsSimpleIslandManager.cpp @@ -40,6 +40,14 @@ namespace physx namespace IG { + ThirdPassTask::ThirdPassTask(PxU64 contextID, SimpleIslandManager& islandManager, IslandSim& islandSim) : Cm::Task(contextID), mIslandManager(islandManager), mIslandSim(islandSim) + { + } + + PostThirdPassTask::PostThirdPassTask(PxU64 contextID, SimpleIslandManager& islandManager) : Cm::Task(contextID), mIslandManager(islandManager) + { + } + SimpleIslandManager::SimpleIslandManager(bool useEnhancedDeterminism, PxU64 contextID) : mDestroyedNodes(PX_DEBUG_EXP("mDestroyedNodes")), mInteractions(PX_DEBUG_EXP("mInteractions")), @@ -50,9 +58,9 @@ namespace IG mConstraintOrCm(PX_DEBUG_EXP("mConstraintOrCm")), mIslandManager(&mFirstPartitionEdges, mEdgeNodeIndices, &mDestroyedPartitionEdges, contextID), mSpeculativeIslandManager(NULL, mEdgeNodeIndices, NULL, contextID), - mSpeculativeThirdPassTask(*this, mSpeculativeIslandManager), - mAccurateThirdPassTask(*this, mIslandManager), - mPostThirdPassTask(*this), + mSpeculativeThirdPassTask(contextID, *this, mSpeculativeIslandManager), + mAccurateThirdPassTask(contextID, *this, mIslandManager), + mPostThirdPassTask(contextID, *this), mContextID(contextID) { mFirstPartitionEdges.resize(1024); @@ -219,7 +227,7 @@ void SimpleIslandManager::secondPassIslandGen() mNodeHandles.freeHandle(mDestroyedNodes[a].index()); } mDestroyedNodes.clear(); - mDestroyedEdges.clear(); + //mDestroyedEdges.clear(); } bool SimpleIslandManager::validateDeactivations() const |