Update Aabb.cs
This commit is contained in:
parent
7b07cbde69
commit
6fcb51aa9f
1 changed files with 4 additions and 4 deletions
|
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue