From db060e7f4d6dc54741fc4fe333f7d1f4f38fbd2f Mon Sep 17 00:00:00 2001 From: Orange Date: Wed, 4 Dec 2024 06:15:03 +0300 Subject: [PATCH] fixed bug --- include/omath/Angle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/omath/Angle.hpp b/include/omath/Angle.hpp index 7d50e93..b46da50 100644 --- a/include/omath/Angle.hpp +++ b/include/omath/Angle.hpp @@ -65,7 +65,7 @@ namespace omath [[nodiscard]] constexpr Type AsRadians() const { - return angles::RadiansToDegrees(m_angle); + return angles::DegreesToRadians(m_angle); } [[nodiscard]]