mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-11 18:26:11 +00:00
Performance improvements
This commit is contained in:
@@ -1449,4 +1449,9 @@ public interface Hunk<T> {
|
||||
default boolean isEmpty() {
|
||||
return false;
|
||||
}
|
||||
|
||||
default boolean contains(int x, int y, int z)
|
||||
{
|
||||
return x < getWidth() && x >= 0 && y < getHeight() && y >= 0 && z < getDepth() && z >= 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user