aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/SwFactory.cpp
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
committerMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
commitd243404d4ba88bcf53f7310cc8980b4efe38c19f (patch)
treedcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /NvCloth/src/SwFactory.cpp
parentAdd new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff)
downloadnvcloth-d243404d4ba88bcf53f7310cc8980b4efe38c19f.tar.xz
nvcloth-d243404d4ba88bcf53f7310cc8980b4efe38c19f.zip
1.1.6 Release.1.1.6
Diffstat (limited to 'NvCloth/src/SwFactory.cpp')
-rw-r--r--NvCloth/src/SwFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NvCloth/src/SwFactory.cpp b/NvCloth/src/SwFactory.cpp
index 5c4b625..de4ff3b 100644
--- a/NvCloth/src/SwFactory.cpp
+++ b/NvCloth/src/SwFactory.cpp
@@ -55,12 +55,12 @@ cloth::SwFactory::~SwFactory()
}
cloth::Fabric* cloth::SwFactory::createFabric(uint32_t numParticles, Range<const uint32_t> phaseIndices,
- Range<const uint32_t> sets, Range<const float> restvalues, Range<const float> stiffnessValues,
- Range<const uint32_t> indices, Range<const uint32_t> anchors,
+ Range<const uint32_t> sets, Range<const float> restvalues, Range<const float> stiffnessValues,
+ Range<const uint32_t> indices, Range<const uint32_t> anchors,
Range<const float> tetherLengths, Range<const uint32_t> triangles)
{
return NV_CLOTH_NEW(SwFabric)(*this, numParticles, phaseIndices, sets, restvalues, stiffnessValues, indices, anchors, tetherLengths, triangles,
- getNextFabricId());
+ getNextFabricId());
}
cloth::Cloth* cloth::SwFactory::createCloth(Range<const PxVec4> particles, Fabric& fabric)