mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +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: {
|
case gcSphere: {
|
||||||
ld res = mh[LDIM] >= 1 ? 0 : mh[LDIM] <= -1 ? M_PI : acos(mh[LDIM]);
|
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;
|
return res;
|
||||||
}
|
}
|
||||||
case gcProduct: {
|
case gcProduct: {
|
||||||
|
Loading…
Reference in New Issue
Block a user