Skip to content

Commit 2c4db22

Browse files
cleanup formatting
1 parent a033fd4 commit 2c4db22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/draw/fill_polygon.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ Image fillPolygon(Image src,
7575
if (v1.y <= y && v2.y > y || v2.y <= y && v1.y > y) {
7676
// Ray intersects the edge (vertical check)
7777
final vt = (y - v1.y) / (v2.y - v1.y);
78-
if (x < v1.x + vt * (v2.x - v1.x)) { // Horizontal check
78+
if (x < v1.x + vt * (v2.x - v1.x)) {
79+
// Horizontal check
7980
intersections++;
8081
}
8182
}

0 commit comments

Comments
 (0)