aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/SwCollision.cpp
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2019-04-29 16:21:42 +0200
committerMarijn Tamis <[email protected]>2019-04-29 16:21:42 +0200
commit90963f4c0a38c705fe85101f2be5fdd09911b10f (patch)
tree34ca6c9e642ce4998612e3ee5bf3264a57c21277 /NvCloth/src/SwCollision.cpp
parent1.1.6 Release. (diff)
downloadnvcloth-90963f4c0a38c705fe85101f2be5fdd09911b10f.tar.xz
nvcloth-90963f4c0a38c705fe85101f2be5fdd09911b10f.zip
Fix potential namespace issues when using NvCloth together with PhysX.
Diffstat (limited to 'NvCloth/src/SwCollision.cpp')
-rw-r--r--NvCloth/src/SwCollision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NvCloth/src/SwCollision.cpp b/NvCloth/src/SwCollision.cpp
index 5c1466c..9dca42c 100644
--- a/NvCloth/src/SwCollision.cpp
+++ b/NvCloth/src/SwCollision.cpp
@@ -331,7 +331,7 @@ void cloth::SwCollision<T4f>::operator()(const IterationState<T4f>& state)
}
if (mPrevData.mSpheres)
- shdfnd::swap(mCurData, mPrevData);
+ ps::swap(mCurData, mPrevData);
}
template <typename T4f>