From 5b0e7eb2f3ce6fe8fb49c3e0bd571ccf76684180 Mon Sep 17 00:00:00 2001 From: Julia Longtin Date: Thu, 19 Mar 2026 19:25:41 +0000 Subject: [PATCH] fix res calculation; changes mesh. --- Graphics/Implicit/Export/Render/GetSegs.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphics/Implicit/Export/Render/GetSegs.hs b/Graphics/Implicit/Export/Render/GetSegs.hs index 9d6e1b45..fa491c5e 100644 --- a/Graphics/Implicit/Export/Render/GetSegs.hs +++ b/Graphics/Implicit/Export/Render/GetSegs.hs @@ -61,7 +61,7 @@ getSegs p1@(V2 x y) p2 obj (x1y1, x2y1, x1y2, x2y2) (midx1V,midx2V,midy1V,midy2V -- TODO(sandy): i might have swapped (^+^) for - here (V2 dx dy) = p2 - p1 - res = sqrt (dx*dy) + res = sqrt (dx*dx+dy*dy) midx1 = V2 x midx1V midx2 = V2 (x + dx) midx2V