From e1cfa2e1849c5b411407ba3379844e790acb7292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Tue, 25 Sep 2018 15:56:35 +0200 Subject: [PATCH] And again --- include/Nazara/Math/Angle.hpp | 8 ++++---- include/Nazara/Math/Angle.inl | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/Nazara/Math/Angle.hpp b/include/Nazara/Math/Angle.hpp index a64893e3a..74e2b884d 100644 --- a/include/Nazara/Math/Angle.hpp +++ b/include/Nazara/Math/Angle.hpp @@ -42,10 +42,10 @@ namespace Nz void Normalize(); - template> Angle& Set(const Angle& Angle); - template> Angle& Set(const Angle& Angle); - Angle& Set(const Angle& Angle); - template Angle& Set(const Angle& Angle); + template> Angle& Set(const Angle& ang); + template> Angle& Set(const Angle& ang); + Angle& Set(const Angle& ang); + template Angle& Set(const Angle& ang); Angle ToDegrees() const; EulerAngles ToEulerAngles() const; diff --git a/include/Nazara/Math/Angle.inl b/include/Nazara/Math/Angle.inl index 46e03d5b1..354cab93f 100644 --- a/include/Nazara/Math/Angle.inl +++ b/include/Nazara/Math/Angle.inl @@ -243,9 +243,9 @@ namespace Nz */ template template - Angle& Angle::Set(const Angle& angle) + Angle& Angle::Set(const Angle& ang) { - angle = RadianToDegree(angle.angle); + angle = RadianToDegree(ang.angle); return *this; } @@ -256,9 +256,9 @@ namespace Nz */ template template - Angle& Angle::Set(const Angle& angle) + Angle& Angle::Set(const Angle& ang) { - angle = DegreeToRadian(angle.angle); + angle = DegreeToRadian(ang.angle); return *this; } @@ -268,9 +268,9 @@ namespace Nz * \param Angle Angle which will be copied */ template - Angle& Angle::Set(const Angle& angle) + Angle& Angle::Set(const Angle& ang) { - angle = angle.angle; + angle = ang.angle; return *this; } @@ -283,9 +283,9 @@ namespace Nz */ template template - Angle& Angle::Set(const Angle& angle) + Angle& Angle::Set(const Angle& ang) { - angle = static_cast(angle.angle); + angle = static_cast(ang.angle); return *this; }