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);
|
||||
}
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2022.
|
||||
* Created by Alpatov Softworks with love in Russia.
|
||||
*/
|
||||
|
||||
#include "omath/matrix.h"
|
||||
|
||||
#include <format>
|
||||
|
||||
#include "omath/Vector3.h"
|
||||
#include <utility>
|
||||
#include <stdexcept>
|
||||
|
||||
Reference in New Issue
Block a user