diff options
Diffstat (limited to 'NvCloth/src/cuda/CuSolver.h')
| -rw-r--r-- | NvCloth/src/cuda/CuSolver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NvCloth/src/cuda/CuSolver.h b/NvCloth/src/cuda/CuSolver.h index 0406e00..b4c6d6b 100644 --- a/NvCloth/src/cuda/CuSolver.h +++ b/NvCloth/src/cuda/CuSolver.h @@ -58,6 +58,7 @@ public: ~CuSolver(); 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; @@ -103,6 +104,10 @@ public: } private: + // add cloth helper functions + void addClothAppend(Cloth* cloth); + void addClothUpdateData(); + void updateKernelData(); // context needs to be acquired // simulate helper functions |