aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/SwSolver.h
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2017-04-28 14:19:07 +0200
committerMarijn Tamis <[email protected]>2017-04-28 14:19:07 +0200
commitb350eb5f4d44e8448115796144375d79438d74ae (patch)
tree8e102e8c28f45a1b87bd335ceee4f33c3d4ee7c2 /NvCloth/src/SwSolver.h
parentAdd visual samples. (diff)
downloadnvcloth-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.h4
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;