Fixed AABB GetCenter to use Min.Y
This commit is contained in:
2
AABB.cs
2
AABB.cs
@@ -158,7 +158,7 @@ namespace Voxel
|
||||
{
|
||||
return new Vector3(
|
||||
(Min.X + Max.X) / 2,
|
||||
(Min.Y + Max.Y) / 2,
|
||||
Min.Y,
|
||||
(Min.Z + Max.Z) / 2
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user