From ef6937e69e8ee3f409cf9d460d5ad300a65d5924 Mon Sep 17 00:00:00 2001 From: sschirm Date: Fri, 23 Dec 2016 14:20:36 +0100 Subject: PhysX 3.4 / APEX 1.4 release candidate @21506124 --- .../SimulationController/src/ScSqBoundsManager.h | 26 +++++++++------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h') diff --git a/PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h b/PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h index 46006622..9d13b3df 100644 --- a/PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h +++ b/PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h @@ -34,43 +34,39 @@ #include "foundation/PxBounds3.h" #include "PsArray.h" #include "PsUserAllocated.h" -#include "CmTask.h" #include "PsHashSet.h" +//#include "SqPruner.h" namespace physx { - -namespace Cm +namespace Sq { - class FlushPool; - class EventProfiler; +typedef PxU32 PrunerHandle; // PT: we should get this from SqPruner.h but it cannot be included from here } namespace Sc { - struct SqBoundsSync; struct SqRefFinder; -class Scene; class ShapeSim; class SqBoundsManager : public Ps::UserAllocated { PX_NOCOPY(SqBoundsManager) public: - SqBoundsManager(); + SqBoundsManager(); - void addShape(ShapeSim& shape); - void removeShape(ShapeSim& shape); - void syncBounds(SqBoundsSync& sync, SqRefFinder& finder, const PxBounds3* bounds, PxU64 contextID); + void addShape(ShapeSim& shape); + void removeShape(ShapeSim& shape); + void syncBounds(SqBoundsSync& sync, SqRefFinder& finder, const PxBounds3* bounds, PxU64 contextID); private: - Ps::Array mShapes; // - Ps::Array mRefs; // SQ pruner references - Ps::Array mBoundsIndices; // indices into the Sc bounds array - Ps::CoalescedHashSet mRefless; // shapesims without references + Ps::Array mShapes; // + Ps::Array mRefs; // SQ pruner references + Ps::Array mBoundsIndices; // indices into the Sc bounds array + Ps::CoalescedHashSet mRefless; // shapesims without references }; } } -- cgit v1.2.3