From 8abd40a7882c8a40300fbbc1605de04a9c28d0f0 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 30 Jul 2022 17:21:59 +0200 Subject: [PATCH] Base: [skip ci] use Precision class in Rotation::makeRotationByAxes --- src/Base/Rotation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Base/Rotation.cpp b/src/Base/Rotation.cpp index 1326a7536a..0ab5cc69f8 100644 --- a/src/Base/Rotation.cpp +++ b/src/Base/Rotation.cpp @@ -28,6 +28,7 @@ #include "Rotation.h" #include "Matrix.h" +#include "Precision.h" using namespace Base; @@ -496,7 +497,7 @@ Rotation Rotation::identity() Rotation Rotation::makeRotationByAxes(Vector3d xdir, Vector3d ydir, Vector3d zdir, const char* priorityOrder) { - const double tol = 1e-7; //equal to OCC Precision::Confusion + const double tol = Precision::Confusion(); enum dirIndex { X, Y,