diff options
| author | Marijn Tamis <[email protected]> | 2019-04-01 13:09:20 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2019-04-01 13:09:20 +0200 |
| commit | 2835d138450b20744c3b97e7ae827372ceac5958 (patch) | |
| tree | 8a1a38f613ee18d5bac1d24aa2d40059aadf8b73 /NvCloth/include | |
| parent | Update documentation that was missing from latest release. (diff) | |
| download | nvcloth-1.1.5.tar.xz nvcloth-1.1.5.zip | |
Add new SetSpheres and SetPlanes api's to bring them in line with setTriangles.1.1.5
Diffstat (limited to 'NvCloth/include')
| -rw-r--r-- | NvCloth/include/NvCloth/Cloth.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NvCloth/include/NvCloth/Cloth.h b/NvCloth/include/NvCloth/Cloth.h index e00deb3..287f1cc 100644 --- a/NvCloth/include/NvCloth/Cloth.h +++ b/NvCloth/include/NvCloth/Cloth.h @@ -263,6 +263,7 @@ class Cloth : public UserAllocated \endcode */ virtual void setSpheres(Range<const physx::PxVec4> spheres, uint32_t first, uint32_t last) = 0; + virtual void setSpheres(Range<const physx::PxVec4> startSpheres, Range<const physx::PxVec4> targetSpheres) = 0; /// Returns the number of spheres currently set. virtual uint32_t getNumSpheres() const = 0; @@ -291,6 +292,7 @@ class Cloth : public UserAllocated Use setConvexes to enable planes for collision detection. */ virtual void setPlanes(Range<const physx::PxVec4> planes, uint32_t first, uint32_t last) = 0; + virtual void setPlanes(Range<const physx::PxVec4> startPlanes, Range<const physx::PxVec4> targetPlanes) = 0; /// Returns the number of planes currently set. virtual uint32_t getNumPlanes() const = 0; @@ -308,7 +310,7 @@ class Cloth : public UserAllocated The values currently in range [first, last[ will be replaced with the content of triangles. */ virtual void setTriangles(Range<const physx::PxVec3> triangles, uint32_t first, uint32_t last) = 0; - virtual void setTriangles(Range<const physx::PxVec3> triangles, Range<const physx::PxVec3>, uint32_t first) = 0; + virtual void setTriangles(Range<const physx::PxVec3> startTriangles, Range<const physx::PxVec3> targetTriangles, uint32_t first) = 0; /// Returns the number of triangles currently set. virtual uint32_t getNumTriangles() const = 0; |