diff --git a/src/esp/core/Utility.h b/src/esp/core/Utility.h index 64fa599eb2..a18d6df2e5 100644 --- a/src/esp/core/Utility.h +++ b/src/esp/core/Utility.h @@ -63,9 +63,8 @@ Magnum::Math::Quaternion quatRotFromTwoVectors( return Magnum::Math::Quaternion(rotAxisVec, 0).normalized(); } const auto halfVec = (fromNorm + toNorm).normalized(); - return Magnum::Math::Quaternion( - Magnum::Math::cross(fromNorm, halfVec).normalized(), - Magnum::Math::dot(fromNorm, halfVec)) + return Magnum::Math::Quaternion(Magnum::Math::cross(fromNorm, halfVec), + Magnum::Math::dot(fromNorm, halfVec)) .normalized(); } // quatRotFromTwoVectors