From 2e151df478c3db8f76dd3e8ce3e48e954b7bbfe2 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]]