1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 11:57:40 +00:00

added new quotient spaces: Bring's, Schmutz's M(2), Schmutz's M(3)

This commit is contained in:
Zeno Rogue
2018-11-23 23:46:26 +01:00
parent b4671e4d50
commit 64da329f8e
6 changed files with 62 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin
int sp = h2->c.spin(d);
return gm * heptmove[sp] * spin(2*M_PI*d/S7) * where;
}
if(geometry == gFieldQuotient) {
if(among(geometry, gFieldQuotient, gBring, gMacbeath)) {
int bestdist = 1000, bestd = 0;
for(int d=0; d<S7; d++) {
int dist = celldistance(h2->move(d)->c7, c1);