Trying to fix specialization before instantiation error

This commit is contained in:
Pascal Serrarens 2024-12-28 15:14:47 +01:00
parent f47e504bf4
commit e445e5bb93

View File

@ -28,7 +28,6 @@ public:
// const static AngleOf<T> deg90;
// const static AngleOf<T> deg180;
constexpr static auto Deg = Degrees;
/// @brief Creates an angle in degrees
/// @param degrees the angle in degrees
/// @return The angle value
@ -37,6 +36,7 @@ public:
/// @brief Creates an angle in radians
/// @param radians the angle in radians
/// @return The angle value
constexpr static auto Deg = &Degrees<T>;
static AngleOf<T> Radians(float radians);
/// @brief Short-hand Rad alias for the Radians function
// constexpr static auto Rad = Radians;