fixed Recti.contains
This commit is contained in:
parent
a7d8b9f5c7
commit
cafd9f8132
|
@ -59,7 +59,7 @@ public final class Recti {
|
||||||
var br = getBottomRight();
|
var br = getBottomRight();
|
||||||
return vec.getX() >= pos.getX() &&
|
return vec.getX() >= pos.getX() &&
|
||||||
vec.getY() >= pos.getY() &&
|
vec.getY() >= pos.getY() &&
|
||||||
vec.getX() <= br.getX() &&
|
vec.getX() < br.getX() &&
|
||||||
vec.getY() <= br.getY();
|
vec.getY() < br.getY();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue