1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 09:47:56 +00:00

reg3:: factored gen_quotient_map

This commit is contained in:
Zeno Rogue
2022-07-11 16:04:07 +02:00
parent 3f56f158ee
commit a6116d678e
2 changed files with 42 additions and 44 deletions

View File

@@ -723,7 +723,7 @@ EX color_t colorize(cell *c, char whichCanvas) {
if(cryst) co = m->get_coord(c), dim = m->cs.dim;
#if MAXMDIM >= 4
else if(geometry == gSpace344) {
co = told(reg3::decode_coord(c->master->fieldval)), dim = 4;
co = told(reg3::decode_coord(reg3::minimize_quotient_maps ? 1 : 2, c->master->fieldval)), dim = 4;
for(int a=0; a<4; a++) if(co[a] > 4) co[a] -= 8;
}
else if(geometry == gSeifertCover) {