mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
fix relative_matrix in elliptic 3D
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user