Fix BoundingBox.width return value.

We now return the correct value.

Closes #2526
This commit is contained in:
Mark Paluch
2023-04-24 14:45:55 +02:00
parent 2692aafc63
commit 56c633c3a9
2 changed files with 52 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ public class BoundingBox implements Shape {
* @return will never be {@literal null}.
*/
public Distance getWidth() {
return height;
return width;
}
/**