Math/Box: Rename FromExtends to FromExtents

This commit is contained in:
SirLynix
2023-09-08 09:06:26 +02:00
parent 5f8b7b361e
commit aef8b01f15
8 changed files with 14 additions and 14 deletions

View File

@@ -217,7 +217,7 @@ namespace Nz
{
obb.Update(transformMatrix);
aabb = Box<T>::FromExtends(obb(0), obb(1));
aabb = Box<T>::FromExtents(obb(0), obb(1));
for (unsigned int i = 2; i < 8; ++i)
aabb.ExtendTo(obb(i));
}
@@ -232,7 +232,7 @@ namespace Nz
{
obb.Update(translation);
aabb = Box<T>::FromExtends(obb(0), obb(1));
aabb = Box<T>::FromExtents(obb(0), obb(1));
for (unsigned int i = 2; i < 8; ++i)
aabb.ExtendTo(obb(i));
}