diff --git a/include/Nazara/Math/Angle.hpp b/include/Nazara/Math/Angle.hpp index e177392fd..10525c56e 100644 --- a/include/Nazara/Math/Angle.hpp +++ b/include/Nazara/Math/Angle.hpp @@ -24,8 +24,8 @@ namespace Nz public: Angle() = default; Angle(T value); - template> explicit Angle(const Angle& value) { Set(value); } - template> explicit Angle(const Angle& value) { Set(value); } + template> explicit Angle(const Angle& value) { Set(value); } + template> explicit Angle(const Angle& value) { Set(value); } template explicit Angle(const Angle& Angle); Angle(const Angle&) = default; ~Angle() = default; diff --git a/include/Nazara/Math/Angle.inl b/include/Nazara/Math/Angle.inl index fd5658366..4cec7bb1a 100644 --- a/include/Nazara/Math/Angle.inl +++ b/include/Nazara/Math/Angle.inl @@ -328,7 +328,7 @@ namespace Nz template Angle Angle::operator+(const Angle& other) const { - return Angle(angle + Angle.angle); + return Angle(angle + other.angle); } /*! @@ -340,7 +340,7 @@ namespace Nz template Angle Angle::operator-(const Angle& other) const { - return Angle(angle - Angle.angle); + return Angle(angle - other.angle); } /*! @@ -352,7 +352,7 @@ namespace Nz template Angle& Angle::operator+=(const Angle& other) { - angle += Angle.angle; + angle += other.angle; return *this; } @@ -365,7 +365,7 @@ namespace Nz template Angle& Angle::operator-=(const Angle& other) { - angle -= Angle.angle; + angle -= other.angle; return *this; }