From ef6937e69e8ee3f409cf9d460d5ad300a65d5924 Mon Sep 17 00:00:00 2001 From: sschirm Date: Fri, 23 Dec 2016 14:20:36 +0100 Subject: PhysX 3.4 / APEX 1.4 release candidate @21506124 --- PhysX_3.4/Source/PhysXCooking/src/MeshCleaner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'PhysX_3.4/Source/PhysXCooking/src/MeshCleaner.cpp') diff --git a/PhysX_3.4/Source/PhysXCooking/src/MeshCleaner.cpp b/PhysX_3.4/Source/PhysXCooking/src/MeshCleaner.cpp index 0f4b6f67..9314e09d 100644 --- a/PhysX_3.4/Source/PhysXCooking/src/MeshCleaner.cpp +++ b/PhysX_3.4/Source/PhysXCooking/src/MeshCleaner.cpp @@ -28,6 +28,7 @@ // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. #include "foundation/PxVec3.h" +#include "foundation/PxMemory.h" #include "MeshCleaner.h" #include "PsAllocator.h" #include "PsBitUtils.h" @@ -98,7 +99,7 @@ MeshCleaner::MeshCleaner(PxU32 nbVerts, const PxVec3* srcVerts, PxU32 nbTris, co } else { - memcpy(cleanVerts, srcVerts, nbVerts*sizeof(PxVec3)); + PxMemCopy(cleanVerts, srcVerts, nbVerts*sizeof(PxVec3)); } const PxU32 maxNbElems = PxMax(nbTris, nbVerts); -- cgit v1.2.3