mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +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;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user