fixed Recti.contains

This commit is contained in:
DaniTheSkunk 2022-11-08 01:39:06 +00:00
parent a7d8b9f5c7
commit cafd9f8132
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public final class Recti {
var br = getBottomRight();
return vec.getX() >= pos.getX() &&
vec.getY() >= pos.getY() &&
vec.getX() <= br.getX() &&
vec.getY() <= br.getY();
vec.getX() < br.getX() &&
vec.getY() < br.getY();
}
}