diff options
| author | Marijn Tamis <[email protected]> | 2017-10-20 14:30:56 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2017-10-20 14:36:12 +0200 |
| commit | fabb251458f4a2d6d4f87dd36038fac2774b378c (patch) | |
| tree | 68a4a0ecd940dc949e0477d521d8c159968cfcd5 /NvCloth/src/SwSolver.h | |
| parent | NvCloth 1.1.2 Release. (22576033) (diff) | |
| download | nvcloth-1.1.3.tar.xz nvcloth-1.1.3.zip | |
NvCloth 1.1.3 Release. (23014067)v1.1.3
Diffstat (limited to 'NvCloth/src/SwSolver.h')
| -rw-r--r-- | NvCloth/src/SwSolver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NvCloth/src/SwSolver.h b/NvCloth/src/SwSolver.h index c7b177b..ad58a7c 100644 --- a/NvCloth/src/SwSolver.h +++ b/NvCloth/src/SwSolver.h @@ -64,6 +64,7 @@ class SwSolver : public Solver virtual ~SwSolver(); virtual void addCloth(Cloth*) override; + virtual void addCloths(Range<Cloth*> cloths) override; virtual void removeCloth(Cloth*) override; virtual int getNumCloths() const override; virtual Cloth * const * getClothList() const override; @@ -112,6 +113,10 @@ class SwSolver : public Solver } private: + // add cloth helper functions + void addClothAppend(Cloth* cloth); + + // simulate helper functions void beginFrame() const; void endFrame() const; |