diff options
Diffstat (limited to 'PhysX_3.4/Source/GeomUtils')
| -rw-r--r-- | PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp | 4 |
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; |