1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +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;
return;
}
if(among(geometry, gZebraQuotient, gTorus, gKleinQuartic, gBolza, gBolza2, gMinimal)) {
if(quotient) {
at = inverse(gmatrix[base]) * new_pat;
virtualRebase(this, true);
fixmatrix(at);
fixelliptic(at);
return;
}
pat = new_pat;