diff --git a/include/Nazara/Math/Rect.inl b/include/Nazara/Math/Rect.inl index 7b4554ad1..45898f488 100644 --- a/include/Nazara/Math/Rect.inl +++ b/include/Nazara/Math/Rect.inl @@ -254,10 +254,10 @@ namespace Nz constexpr EnumArray> Rect::GetCorners() const { return { - GetCorner(Nz::BoxCorner::LeftBottom), - GetCorner(Nz::BoxCorner::LeftTop), - GetCorner(Nz::BoxCorner::RightBottom), - GetCorner(Nz::BoxCorner::RightTop) + GetCorner(Nz::RectCorner::LeftBottom), + GetCorner(Nz::RectCorner::LeftTop), + GetCorner(Nz::RectCorner::RightBottom), + GetCorner(Nz::RectCorner::RightTop) }; }