From cb6cd1bea9f26ce42076c82e5d53fea207a37a20 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 18 Aug 2019 21:47:00 +0200 Subject: [PATCH] product:: fixed gen count in draw_s2xe --- drawing.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drawing.cpp b/drawing.cpp index 22e6ffd7..569d5e8e 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -988,8 +988,7 @@ void draw_s2xe(dqi_poly *p, dqi_poly *npoly) { int g = no_gens ? 0 : maxgen; - for(int gen=g; gen<=g; gen++) { - if(gen && no_gens) continue; + for(int gen=-g; gen<=g; gen++) { for(int i=0; icnt; i++) { auto& cur = pd[i]; ld d = cur.distance + 2 * M_PI * gen;