Update Aabb.cs

This commit is contained in:
Leon Semmens 2024-10-01 16:42:19 +01:00
parent 7b07cbde69
commit 6fcb51aa9f

View file

@ -173,10 +173,10 @@ namespace Godot
case 7: case 7:
return new Vector3(_position.X + _size.X, _position.Y + _size.Y, _position.Z + _size.Z); return new Vector3(_position.X + _size.X, _position.Y + _size.Y, _position.Z + _size.Z);
default: default:
{ {
throw new ArgumentOutOfRangeException(nameof(idx), throw new ArgumentOutOfRangeException(nameof(idx),
$"Index is {idx}, but a value from 0 to 7 is expected."); $"Index is {idx}, but a value from 0 to 7 is expected.");
} }
} }
} }