mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fix relative_matrix in elliptic 3D
This commit is contained in:
parent
ea67cd88f1
commit
8b5c0f923d
@ -178,7 +178,7 @@ struct hrmap_spherical : hrmap_standard {
|
||||
}
|
||||
if(gmatrix0.count(c2) && gmatrix0.count(c1)) {
|
||||
transmatrix T = inverse(gmatrix0[c1]) * gmatrix0[c2];
|
||||
if(elliptic && T[2][2] < 0)
|
||||
if(elliptic && T[LDIM][LDIM] < 0)
|
||||
T = centralsym * T;
|
||||
return T;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user