diff options
Diffstat (limited to 'PhysX_3.4/Source/PhysXCooking/src/convex/ConvexMeshBuilder.cpp')
| -rw-r--r-- | PhysX_3.4/Source/PhysXCooking/src/convex/ConvexMeshBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexMeshBuilder.cpp b/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexMeshBuilder.cpp index 5fb356c3..540d838d 100644 --- a/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexMeshBuilder.cpp +++ b/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexMeshBuilder.cpp @@ -154,10 +154,10 @@ bool ConvexMeshBuilder::save(PxOutputStream& stream, bool platformMismatch) cons ////////////////////////////////////////////////////////////////////////// // instead of saving the data into stream, we copy the mesh data // into internal Gu::ConvexMesh. -bool ConvexMeshBuilder::copy(Gu::ConvexHullData& hullData) +bool ConvexMeshBuilder::copy(Gu::ConvexHullData& hullData, PxU32& nb) { // hull builder data copy - hullBuilder.copy(hullData); + hullBuilder.copy(hullData, nb); // mass props hullData.mAABB = mHullData.mAABB; |