Skip to content

Commit

Permalink
correct area.entities edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Dec 6, 2021
1 parent 58c8bd2 commit 0af802d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -575,7 +575,7 @@ public Collection<Entity> getEntitiesPossiblyWithinForTag() {
if (pairs.size() != 1) {
return world.getEntitiesForTag();
}
BoundingBox box = BoundingBox.of(getLow(0).toVector(), getHigh(0).toVector());
BoundingBox box = BoundingBox.of(getLow(0).toVector(), getHigh(0).toVector().add(new Vector(1, 1, 1)));
return world.getPossibleEntitiesForBoundary(box);
}

Expand Down

0 comments on commit 0af802d

Please sign in to comment.