diff options
Diffstat (limited to 'PhysX_3.4/Source/PhysXCooking/src/convex/ConvexHullBuilder.cpp')
| -rw-r--r-- | PhysX_3.4/Source/PhysXCooking/src/convex/ConvexHullBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexHullBuilder.cpp b/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexHullBuilder.cpp index cc9d8b12..a28c404e 100644 --- a/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexHullBuilder.cpp +++ b/PhysX_3.4/Source/PhysXCooking/src/convex/ConvexHullBuilder.cpp @@ -289,7 +289,7 @@ bool ConvexHullBuilder::checkHullPolygons() const // Test hull vertices against polygon plane // compute the test epsilon the same way we construct the hull, verts are considered coplanar within this epsilon - const float planeTolerance = 0.002f; + const float planeTolerance = 0.02f; const float testEpsilon = PxMax(planeTolerance * (PxMax(PxAbs(hullMax.x), PxAbs(hullMin.x)) + PxMax(PxAbs(hullMax.y), PxAbs(hullMin.y)) + PxMax(PxAbs(hullMax.z), PxAbs(hullMin.z))), planeTolerance); |