mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
removed fixing hdist0 in elliptic spaces
This commit is contained in:
parent
415922ff1b
commit
e9a0d7f817
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user