Fix mistake

This commit is contained in:
Jérôme Leclercq 2023-08-13 18:40:02 +02:00 committed by GitHub
parent e8620894f7
commit 501e779be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -254,10 +254,10 @@ namespace Nz
constexpr EnumArray<RectCorner, Vector2<T>> Rect<T>::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)
};
}