mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10:34 +00:00
product:: fixed gen count in draw_s2xe
This commit is contained in:
parent
31baf32f50
commit
cb6cd1bea9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user