diff options
| author | sschirm <[email protected]> | 2016-12-23 14:20:36 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2016-12-23 14:56:17 +0100 |
| commit | ef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch) | |
| tree | 710426e8daa605551ce3f34b581897011101c30f /PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h | |
| parent | Initial commit: (diff) | |
| download | physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.tar.xz physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.zip | |
PhysX 3.4 / APEX 1.4 release candidate @21506124
Diffstat (limited to 'PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h')
| -rw-r--r-- | PhysX_3.4/Source/SimulationController/src/ScSqBoundsManager.h | 26 |
1 files changed, 11 insertions, 15 deletions
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<ShapeSim*> mShapes; // - Ps::Array<PxU32> mRefs; // SQ pruner references - Ps::Array<PxU32> mBoundsIndices; // indices into the Sc bounds array - Ps::CoalescedHashSet<ShapeSim*> mRefless; // shapesims without references + Ps::Array<ShapeSim*> mShapes; // + Ps::Array<Sq::PrunerHandle> mRefs; // SQ pruner references + Ps::Array<PxU32> mBoundsIndices; // indices into the Sc bounds array + Ps::CoalescedHashSet<ShapeSim*> mRefless; // shapesims without references }; } } |