aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/ClothClone.h
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/ClothClone.h
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/ClothClone.h')
-rw-r--r--NvCloth/src/ClothClone.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/NvCloth/src/ClothClone.h b/NvCloth/src/ClothClone.h
index 7145da5..69c2c54 100644
--- a/NvCloth/src/ClothClone.h
+++ b/NvCloth/src/ClothClone.h
@@ -46,14 +46,14 @@ class CuFactory;
// make range from vector
template <typename T, typename A>
-Range<T> makeRange(physx::shdfnd::Array<T, A>& vec)
+Range<T> makeRange(ps::Array<T, A>& vec)
{
T* ptr = vec.empty() ? 0 : vec.begin();
return Range<T>(ptr, ptr + vec.size());
}
template <typename T, typename A>
-Range<const T> makeRange(const physx::shdfnd::Array<T, A>& vec)
+Range<const T> makeRange(const ps::Array<T, A>& vec)
{
const T* ptr = vec.empty() ? 0 : vec.begin();
return Range<const T>(ptr, ptr + vec.size());