Skip to content

Commit 56ef4f2

Browse files
Sushant NadavadeSushant Nadavade
authored andcommitted
changes made - 3
1 parent 840ba77 commit 56ef4f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/thealgorithms/geometry/RotatingCalipers.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,13 +288,13 @@ private static List<Point> ensureCounterClockwiseOrder(List<Point> hull) {
288288
// Find bottommost point (lowest y, then leftmost x)
289289
Point bottomMost = hull.get(0);
290290
int bottomIndex = 0;
291-
291+
292292
for (int i = 1; i < hull.size(); i++) {
293293
Point current = hull.get(i);
294294
// Check if current point is better than current best
295-
boolean isBetter = current.y() < bottomMost.y() ||
295+
boolean isBetter = current.y() < bottomMost.y() ||
296296
(current.y() == bottomMost.y() && current.x() < bottomMost.x());
297-
297+
298298
if (isBetter) {
299299
bottomMost = current;
300300
bottomIndex = i;

0 commit comments

Comments
 (0)