1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

virtualRebase now used in all quotient geometries

This commit is contained in:
Zeno Rogue 2019-04-03 20:37:31 +02:00
parent e446ad9b1c
commit 27581ff8b0

View File

@ -1080,10 +1080,11 @@ void monster::rebasePat(const transmatrix& new_pat) {
fixmatrix(at); pat = at; fixmatrix(at); pat = at;
return; return;
} }
if(among(geometry, gZebraQuotient, gTorus, gKleinQuartic, gBolza, gBolza2, gMinimal)) { if(quotient) {
at = inverse(gmatrix[base]) * new_pat; at = inverse(gmatrix[base]) * new_pat;
virtualRebase(this, true); virtualRebase(this, true);
fixmatrix(at); fixmatrix(at);
fixelliptic(at);
return; return;
} }
pat = new_pat; pat = new_pat;