aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-11-21 10:47:56 -0600
committerSheikh Dawood Abdul Ajees <[email protected]>2017-11-21 10:47:56 -0600
commit57b71f8f6713d81a9775dd43f4b9fad4933d6faa (patch)
tree3575ca59cf2a418dcfff070c1cbc54ada73ab8a6 /PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
parentPhysX 3.4.1, APEX 1.4.1 Release @23131702 (diff)
downloadphysx-3.4-57b71f8f6713d81a9775dd43f4b9fad4933d6faa.tar.xz
physx-3.4-57b71f8f6713d81a9775dd43f4b9fad4933d6faa.zip
PhysX 3.4.1, APEX 1.4.1 Release @23173160
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 6e910f84..aee3ef3c 100644
--- a/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
+++ b/PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp
@@ -458,7 +458,7 @@ PxReal SweepAnyShapeMesh(GU_SWEEP_METHOD_ARGS)
PxVec3 unitDir = relTr;
PxReal length = unitDir.normalize();
- PxMat33 matRot(lastTm0.q);
+ PxMat33 matRot(PxIdentity);
//1) Compute the swept bounds
@@ -655,7 +655,7 @@ PxReal SweepEstimateAnyShapeMesh(GU_SWEEP_ESTIMATE_ARGS)
PxVec3 unitDir = relTr;
PxReal length = unitDir.normalize();
- PxMat33 matRot(lastTr0.q);
+ PxMat33 matRot(PxIdentity);
//1) Compute the swept bounds
Box sweptBox;