From 87c902c4b8db74d2e8de211a055e5fc81587ad64 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 14 Dec 2021 11:19:15 +0100 Subject: [PATCH] fixed fat edges in some H3 honeycombs --- celldrawer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/celldrawer.cpp b/celldrawer.cpp index 2f340dae..fd4b8a01 100644 --- a/celldrawer.cpp +++ b/celldrawer.cpp @@ -877,6 +877,10 @@ void celldrawer::draw_grid() { mm = lerp(1-cgi.ultra_material_part, cgi.ultra_material_part, .99); tie(a, b) = make_pair(normalize(lerp(a, b, mm)), normalize(lerp(b, a, mm))); } + else { + a = normalize(a); + b = normalize(b); + } gridline(V, a, b, gridcolor(c, c->move(t)), prec); if(reg3::ultra_mirror_in()) {