Skip to content

Commit

Permalink
Update Clipper.cs (#240)
Browse files Browse the repository at this point in the history
Fixing maxInvalidRectD
  • Loading branch information
mattdev authored Sep 25, 2022
1 parent 7ff0455 commit 162da32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CSharp/Clipper2Lib/Clipper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static class Clipper
long.MaxValue, long.MaxValue, long.MinValue, long.MinValue);

private static RectD maxInvalidRectD = new RectD(
double.MaxValue, -double.MaxValue, -double.MaxValue, -double.MaxValue);
double.MaxValue, double.MaxValue, -double.MaxValue, -double.MaxValue);

public static Rect64 MaxInvalidRect64 => maxInvalidRect64;
public static RectD MaxInvalidRectD => maxInvalidRectD;
Expand Down Expand Up @@ -792,4 +792,4 @@ public static PathD Ellipse(PointD center,
}

} // Clipper
} // namespace
} // namespace

0 comments on commit 162da32

Please sign in to comment.