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:
parent
e446ad9b1c
commit
27581ff8b0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user