From f64916dc5e0975ab89dd4c507413325c6ecc3e9b Mon Sep 17 00:00:00 2001 From: marioalexis Date: Fri, 17 Jun 2022 16:22:34 -0300 Subject: [PATCH] Base: Set angle in Rotation::inverse function --- src/Base/Rotation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Base/Rotation.cpp b/src/Base/Rotation.cpp index 079f54b061..1d3f1d92fd 100644 --- a/src/Base/Rotation.cpp +++ b/src/Base/Rotation.cpp @@ -341,6 +341,7 @@ Rotation Rotation::inverse() const rot._axis[0] = -this->_axis[0]; rot._axis[1] = -this->_axis[1]; rot._axis[2] = -this->_axis[2]; + rot._angle = this->_angle; return rot; }