mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-04 21:04:02 +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)) {
|
if(gmatrix0.count(c2) && gmatrix0.count(c1)) {
|
||||||
transmatrix T = inverse(gmatrix0[c1]) * gmatrix0[c2];
|
transmatrix T = inverse(gmatrix0[c1]) * gmatrix0[c2];
|
||||||
if(elliptic && T[2][2] < 0)
|
if(elliptic && T[LDIM][LDIM] < 0)
|
||||||
T = centralsym * T;
|
T = centralsym * T;
|
||||||
return T;
|
return T;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user