aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp')
-rw-r--r--PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp b/PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp
index d3c0b842..f867f865 100644
--- a/PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp
+++ b/PhysX_3.4/Source/GeomUtils/src/convex/GuConvexMesh.cpp
@@ -361,10 +361,7 @@ bool Gu::ConvexMesh::load(PxInputStream& stream)
*/
// TEST_INTERNAL_OBJECTS
- mHullData.mInternal.mRadius = readFloat(mismatch, stream);
- mHullData.mInternal.mExtents[0] = readFloat(mismatch, stream);
- mHullData.mInternal.mExtents[1] = readFloat(mismatch, stream);
- mHullData.mInternal.mExtents[2] = readFloat(mismatch, stream);
+ readFloatBuffer(&mHullData.mInternal.mRadius, 4, mismatch, stream);
PX_ASSERT(PxVec3(mHullData.mInternal.mExtents[0], mHullData.mInternal.mExtents[1], mHullData.mInternal.mExtents[2]).isFinite());
PX_ASSERT(mHullData.mInternal.mExtents[0] != 0.0f);