From eaa3fd2f090447d7dc411f4b240adeaf380ccdaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Thu, 6 Sep 2018 13:27:06 +0200 Subject: [PATCH] Fix method order --- include/Nazara/Math/Angle.inl | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) 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