mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
removed constexpr
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
|
||||
namespace omath::angles
|
||||
{
|
||||
constexpr float RadiansToDegrees(const float radiands)
|
||||
float RadiansToDegrees(const float radiands)
|
||||
{
|
||||
return radiands * (180.f / std::numbers::pi_v<float>);
|
||||
}
|
||||
|
||||
constexpr float DegreesToRadians(const float degrees)
|
||||
float DegreesToRadians(const float degrees)
|
||||
{
|
||||
return degrees * (std::numbers::pi_v<float> / 180.f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user