Change offset to withOffset

This commit is contained in:
cosrnic 2024-02-24 00:45:54 +00:00 committed by iam
parent 49a4226ebb
commit 0b66dd61db

View File

@ -131,7 +131,7 @@ public final class BoundingBox implements Shape {
* @param offset the offset
* @return a new bounding box with an offset.
*/
public @NotNull BoundingBox offset(Point offset) {
public @NotNull BoundingBox wtihOffset(Point offset) {
return new BoundingBox(this.width, this.height, this.depth, offset);
}