diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-09-15 15:41:57 -0500 |
| commit | d1c812f1162e5fdb13c215792725b2591d7428f5 (patch) | |
| tree | 407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp | |
| parent | PhysX 3.4, APEX 1.4 patch release @22121272 (diff) | |
| download | physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip | |
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp')
| -rw-r--r-- | PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp b/PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp index b0a98c50..ff4acd10 100644 --- a/PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp +++ b/PhysX_3.4/Source/GeomUtils/src/GuSweepMTD.cpp @@ -489,7 +489,7 @@ bool physx::Gu::computeBox_TriangleMeshMTD(const PxTriangleMeshGeometry& triMesh const Vec3V p0 = V3LoadU(&boxTransform.p.x); const Vec3V boxExtents = V3LoadU(box.extents); - const FloatV minMargin = CalculatePCMBoxMargin(boxExtents); + const FloatV minMargin = CalculateMTDBoxMargin(boxExtents); const FloatV inflationV = FAdd(FLoad(inflation), minMargin); PxReal boundInflation; FStore(inflationV, &boundInflation); @@ -632,7 +632,7 @@ bool physx::Gu::computeBox_HeightFieldMTD( const PxHeightFieldGeometry& heightFi const Vec3V p0 = V3LoadU(&boxTransform.p.x); const Vec3V boxExtents = V3LoadU(box.extents); - const FloatV minMargin = CalculatePCMBoxMargin(boxExtents); + const FloatV minMargin = CalculateMTDBoxMargin(boxExtents); const FloatV inflationV = FAdd(FLoad(inflation), minMargin); //const FloatV inflationV = FLoad(inflation); @@ -790,7 +790,7 @@ bool physx::Gu::computeConvex_TriangleMeshMTD( const PxTriangleMeshGeometry& tri ConvexHullV convexHull(hullData, V3Zero(), vScale, vQuat, idtScaleConvex); PX_ALIGN(16, PxU8 convexBuff[sizeof(SupportLocalImpl<ConvexHullV>)]); - const FloatV convexMargin = CalculatePCMConvexMargin(hullData, vScale); + const FloatV convexMargin = CalculateMTDConvexMargin(hullData, vScale); const FloatV inflationV = FAdd(FLoad(inflation), convexMargin); PxReal boundInflation; FStore(inflationV, &boundInflation); @@ -951,7 +951,7 @@ bool physx::Gu::computeConvex_HeightFieldMTD( const PxHeightFieldGeometry& heigh ConvexHullV convexHull(hullData, zeroV, vScale, vQuat, idtScaleConvex); PX_ALIGN(16, PxU8 convexBuff[sizeof(SupportLocalImpl<ConvexHullV>)]); - const FloatV convexMargin = CalculatePCMConvexMargin(hullData, vScale); + const FloatV convexMargin = CalculateMTDConvexMargin(hullData, vScale); const FloatV inflationV = FAdd(FLoad(inflation), convexMargin); PxReal boundInflation; FStore(inflationV, &boundInflation); |