From 2b5f5cd175b20fa01e04b696dfe0cfbe2c4ad9da Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Sat, 28 Dec 2024 15:22:46 +0100 Subject: [PATCH] Removed shorthand Deg/Rad aliases... (see below) --- Angle.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Angle.h b/Angle.h index d066d4a..e8f1f63 100644 --- a/Angle.h +++ b/Angle.h @@ -32,14 +32,11 @@ public: /// @param degrees the angle in degrees /// @return The angle value static AngleOf Degrees(float degrees); - /// @brief Short-hand Deg alias for the Degrees function /// @brief Creates an angle in radians /// @param radians the angle in radians /// @return The angle value - constexpr static AngleOf (*Deg)(float degrees) = &Degrees; static AngleOf Radians(float radians); - /// @brief Short-hand Rad alias for the Radians function - // constexpr static auto Rad = Radians; + /// @brief Creates an angle from a raw value /// @param rawValue the raw value to use for the angle /// @return The the angle