diff options
| author | Marijn Tamis <[email protected]> | 2017-04-28 14:19:07 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2017-04-28 14:19:07 +0200 |
| commit | b350eb5f4d44e8448115796144375d79438d74ae (patch) | |
| tree | 8e102e8c28f45a1b87bd335ceee4f33c3d4ee7c2 /NvCloth/src/SwSolver.h | |
| parent | Add visual samples. (diff) | |
| download | nvcloth-b350eb5f4d44e8448115796144375d79438d74ae.tar.xz nvcloth-b350eb5f4d44e8448115796144375d79438d74ae.zip | |
NvCloth 1.1.0 Release. (22041545)
Diffstat (limited to 'NvCloth/src/SwSolver.h')
| -rw-r--r-- | NvCloth/src/SwSolver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NvCloth/src/SwSolver.h b/NvCloth/src/SwSolver.h index 0c503ac..c7b177b 100644 --- a/NvCloth/src/SwSolver.h +++ b/NvCloth/src/SwSolver.h @@ -65,6 +65,8 @@ class SwSolver : public Solver virtual void addCloth(Cloth*) override; virtual void removeCloth(Cloth*) override; + virtual int getNumCloths() const override; + virtual Cloth * const * getClothList() const override; // functions executing the simulation work. virtual bool beginSimulation(float dt) override; @@ -117,6 +119,8 @@ class SwSolver : public Solver private: Vector<SimulatedCloth>::Type mSimulatedCloths; + typedef Vector<SwCloth*>::Type ClothVector; + ClothVector mCloths; float mInterCollisionDistance; |