1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 18:00:34 +00:00

product:: fixed gen count in draw_s2xe

This commit is contained in:
Zeno Rogue 2019-08-18 21:47:00 +02:00
parent 31baf32f50
commit cb6cd1bea9

View File

@ -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; i<p->cnt; i++) {
auto& cur = pd[i];
ld d = cur.distance + 2 * M_PI * gen;