aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp
diff options
context:
space:
mode:
authorsschirm <[email protected]>2016-12-23 14:20:36 +0100
committersschirm <[email protected]>2016-12-23 14:56:17 +0100
commitef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch)
tree710426e8daa605551ce3f34b581897011101c30f /PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp
parentInitial commit: (diff)
downloadphysx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.tar.xz
physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.zip
PhysX 3.4 / APEX 1.4 release candidate @21506124
Diffstat (limited to 'PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp')
-rw-r--r--PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp b/PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp
index 8847780e..8170e622 100644
--- a/PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp
+++ b/PhysX_3.4/Source/LowLevelCloth/src/windows/CuFactory.cpp
@@ -249,21 +249,21 @@ void cloth::CuFactory::extractCollisionData(const Cloth& cloth, Range<PxVec4> sp
// collision spheres are in pinned memory, so memcpy directly
if(!cuCloth.mStartCollisionSpheres.empty() && !spheres.empty())
- memcpy(spheres.begin(), &cuCloth.mStartCollisionSpheres.front(),
+ PxMemCopy(spheres.begin(), &cuCloth.mStartCollisionSpheres.front(),
cuCloth.mStartCollisionSpheres.size() * sizeof(PxVec4));
if(!cuCloth.mCapsuleIndices.empty() && !capsules.empty())
- memcpy(capsules.begin(), &cuCloth.mCapsuleIndices.front(), cuCloth.mCapsuleIndices.size() * sizeof(IndexPair));
+ PxMemCopy(capsules.begin(), &cuCloth.mCapsuleIndices.front(), cuCloth.mCapsuleIndices.size() * sizeof(IndexPair));
if(!cuCloth.mStartCollisionPlanes.empty() && !planes.empty())
- memcpy(planes.begin(), &cuCloth.mStartCollisionPlanes.front(),
+ PxMemCopy(planes.begin(), &cuCloth.mStartCollisionPlanes.front(),
cuCloth.mStartCollisionPlanes.size() * sizeof(PxVec4));
if(!cuCloth.mConvexMasks.empty() && !convexes.empty())
- memcpy(convexes.begin(), &cuCloth.mConvexMasks.front(), cuCloth.mConvexMasks.size() * sizeof(uint32_t));
+ PxMemCopy(convexes.begin(), &cuCloth.mConvexMasks.front(), cuCloth.mConvexMasks.size() * sizeof(uint32_t));
if(!cuCloth.mStartCollisionTriangles.empty() && !triangles.empty())
- memcpy(triangles.begin(), &cuCloth.mStartCollisionTriangles.front(),
+ PxMemCopy(triangles.begin(), &cuCloth.mStartCollisionTriangles.front(),
cuCloth.mStartCollisionTriangles.size() * sizeof(PxVec3));
}