From 162da32000bbdcdbebc23974b477cd70fba3c6f1 Mon Sep 17 00:00:00 2001 From: mattdev Date: Sun, 25 Sep 2022 21:55:57 +0100 Subject: [PATCH] Update Clipper.cs (#240) Fixing maxInvalidRectD --- CSharp/Clipper2Lib/Clipper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CSharp/Clipper2Lib/Clipper.cs b/CSharp/Clipper2Lib/Clipper.cs index 2fe3f820..57624041 100644 --- a/CSharp/Clipper2Lib/Clipper.cs +++ b/CSharp/Clipper2Lib/Clipper.cs @@ -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; @@ -792,4 +792,4 @@ public static PathD Ellipse(PointD center, } } // Clipper -} // namespace \ No newline at end of file +} // namespace