mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
fixed bug
This commit is contained in:
@@ -65,7 +65,7 @@ namespace omath
|
|||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
constexpr Type AsRadians() const
|
constexpr Type AsRadians() const
|
||||||
{
|
{
|
||||||
return angles::RadiansToDegrees(m_angle);
|
return angles::DegreesToRadians(m_angle);
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
|
|||||||
Reference in New Issue
Block a user