Trying to fix specialization before instantiation error

This commit is contained in:
Pascal Serrarens 2024-12-28 15:06:34 +01:00
parent 06e86236d5
commit b877d4d2f3

View File

@ -33,13 +33,13 @@ public:
/// @return The angle value /// @return The angle value
static AngleOf<T> Degrees(float degrees); static AngleOf<T> Degrees(float degrees);
/// @brief Short-hand Deg alias for the Degrees function /// @brief Short-hand Deg alias for the Degrees function
constexpr static auto Deg = Degrees; // constexpr static auto Deg = Degrees;
/// @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
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;
/// @brief Creates an angle from a raw value /// @brief Creates an angle from a raw value
/// @param rawValue the raw value to use for the angle /// @param rawValue the raw value to use for the angle
/// @return The the angle /// @return The the angle
@ -214,7 +214,6 @@ private:
AngleOf<T>(T rawValue); AngleOf<T>(T rawValue);
}; };
// using Angle = AngleOf<float>;
using AngleSingle = AngleOf<float>; using AngleSingle = AngleOf<float>;
using Angle16 = AngleOf<signed short>; using Angle16 = AngleOf<signed short>;
using Angle8 = AngleOf<signed char>; using Angle8 = AngleOf<signed char>;