diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-11-21 10:47:56 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-11-21 10:47:56 -0600 |
| commit | 57b71f8f6713d81a9775dd43f4b9fad4933d6faa (patch) | |
| tree | 3575ca59cf2a418dcfff070c1cbc54ada73ab8a6 /PhysX_3.4/Source/GeomUtils/src/ccd/GuCCDSweepConvexMesh.cpp | |
| parent | PhysX 3.4.1, APEX 1.4.1 Release @23131702 (diff) | |
| download | physx-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.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; |