mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
fix relative_matrix in elliptic 3D
This commit is contained in:
1 parent
ea67cd88f1
commit
8b5c0f923d
1 file changed
+1
-1
+1
-1
@@ -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