aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-04-25 16:02:08 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-04-25 16:02:08 -0500
commitd11708e398c2f6377d9eac2b1f7248c62faab569 (patch)
tree5778e794690c046ab4b0205d8f764960a5af168b /PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
parentPhysX 3.4, APEX 1.4 patch release @21821222 (diff)
downloadphysx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.tar.xz
physx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.zip
PhysX 3.4, APEX 1.4 patch release @22017166
Diffstat (limited to 'PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp')
-rw-r--r--PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp b/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
index 17965753..6e910f84 100644
--- a/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
+++ b/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
@@ -610,7 +610,7 @@ PxReal SweepAnyShapeMesh(GU_SWEEP_METHOD_ARGS)
}
}
PX_ASSERT(PxIsFinite(res));
- resultNormal = convexPartOfMesh1.getPolygonNormal(0);
+ resultNormal = transform1.rotate(convexPartOfMesh1.getPolygonNormal(0));
}
if (res < minTOI)
@@ -623,7 +623,7 @@ PxReal SweepAnyShapeMesh(GU_SWEEP_METHOD_ARGS)
}
- worldNormal = transform1.rotate(tempWorldNormal);
+ worldNormal = tempWorldNormal;//transform1.rotate(tempWorldNormal);
worldPoint = tempWorldPoint;
outCCDFaceIndex = ccdFaceIndex;
return minTOI;