fix: *facepalm*
This commit is contained in:
parent
4f9f6e0195
commit
154ee9c0f2
@ -1310,7 +1310,7 @@ public class GameLogic {
|
||||
int y1 = Math.min(a.getY(), b.getY());
|
||||
int y2 = Math.max(a.getY(), b.getY());
|
||||
|
||||
Line2D line = new Line2D.Float(x1 + 0.5f, y1 + 0.5f, x2 + 0.5f, y2 + 0.5f);
|
||||
Line2D line = new Line2D.Float(a.getX() + 0.5f, a.getY() + 0.5f, b.getX() + 0.5f, b.getY() + 0.5f);
|
||||
for(int i = x1; i <= x2; i++) {
|
||||
for(int j = y1; j <= y2; j++) {
|
||||
HashSet<Point2D.Float> intersections = new HashSet<>();
|
||||
|
Loading…
Reference in New Issue
Block a user