Trying to fix specialization before instantiation error
This commit is contained in:
parent
f47e504bf4
commit
e445e5bb93
2
Angle.h
2
Angle.h
@ -28,7 +28,6 @@ public:
|
|||||||
// const static AngleOf<T> deg90;
|
// const static AngleOf<T> deg90;
|
||||||
// const static AngleOf<T> deg180;
|
// const static AngleOf<T> deg180;
|
||||||
|
|
||||||
constexpr static auto Deg = Degrees;
|
|
||||||
/// @brief Creates an angle in degrees
|
/// @brief Creates an angle in degrees
|
||||||
/// @param degrees the angle in degrees
|
/// @param degrees the angle in degrees
|
||||||
/// @return The angle value
|
/// @return The angle value
|
||||||
@ -37,6 +36,7 @@ public:
|
|||||||
/// @brief Creates an angle in radians
|
/// @brief Creates an angle in radians
|
||||||
/// @param radians the angle in radians
|
/// @param radians the angle in radians
|
||||||
/// @return The angle value
|
/// @return The angle value
|
||||||
|
constexpr static auto Deg = &Degrees<T>;
|
||||||
static AngleOf<T> Radians(float radians);
|
static AngleOf<T> Radians(float radians);
|
||||||
/// @brief Short-hand Rad alias for the Radians function
|
/// @brief Short-hand Rad alias for the Radians function
|
||||||
// constexpr static auto Rad = Radians;
|
// constexpr static auto Rad = Radians;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user