diff --git a/include/Nazara/Math/Angle.inl b/include/Nazara/Math/Angle.inl index a2a9f8c8e..82f7c4dbe 100644 --- a/include/Nazara/Math/Angle.inl +++ b/include/Nazara/Math/Angle.inl @@ -299,26 +299,6 @@ namespace Nz return DegreeAngle(Detail::AngleUtils::ToDegrees(angle)); } - /*! - * \brief Returns the radian angle that is equivalent to this angle - * \return Equivalent radian angle - */ - template - Angle Angle::ToRadians() const - { - return RadianAngle(Detail::AngleUtils::ToRadians(angle)); - } - - /*! - * \brief Converts the angle to a string representation - * \return String representation of the angle - */ - template - String Angle::ToString() const - { - return Detail::AngleUtils::ToString(angle); - } - /*! * \brief Converts the angle to an Euler Angles representation * \return A 2D rotation expressed in Euler angles @@ -347,6 +327,26 @@ namespace Nz return Quaternion(sincos.second, 0, 0, sincos.first); } + /*! + * \brief Returns the radian angle that is equivalent to this angle + * \return Equivalent radian angle + */ + template + Angle Angle::ToRadians() const + { + return RadianAngle(Detail::AngleUtils::ToRadians(angle)); + } + + /*! + * \brief Converts the angle to a string representation + * \return String representation of the angle + */ + template + String Angle::ToString() const + { + return Detail::AngleUtils::ToString(angle); + } + /*! * \brief Addition operator * \return Adds two angles together