1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

removed fixing hdist0 in elliptic spaces

This commit is contained in:
Zeno Rogue 2019-12-06 13:06:11 +01:00
parent 415922ff1b
commit e9a0d7f817

View File

@ -852,7 +852,6 @@ EX ld hdist0(const hyperpoint& mh) {
}
case gcSphere: {
ld res = mh[LDIM] >= 1 ? 0 : mh[LDIM] <= -1 ? M_PI : acos(mh[LDIM]);
if(elliptic && res > M_PI/2) res = M_PI-res;
return res;
}
case gcProduct: {