mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
sphere:: fixmatrix is now used so that numeric errors do not accumulate
This commit is contained in:
parent
e8aa080536
commit
243ba096e8
@ -181,6 +181,8 @@ struct hrmap_spherical : hrmap_standard {
|
|||||||
transmatrix T = inverse_shift(gmatrix0[c1], gmatrix0[c2]);
|
transmatrix T = inverse_shift(gmatrix0[c1], gmatrix0[c2]);
|
||||||
if(elliptic && T[LDIM][LDIM] < 0)
|
if(elliptic && T[LDIM][LDIM] < 0)
|
||||||
T = centralsym * T;
|
T = centralsym * T;
|
||||||
|
|
||||||
|
fixmatrix(T);
|
||||||
return T;
|
return T;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user