fixed spherity

This commit is contained in:
Zeno Rogue 2019-09-28 16:53:35 +02:00
parent 566a323eb4
commit 77cf19fadc
1 changed files with 1 additions and 1 deletions

View File

@ -887,7 +887,7 @@ EX ld spherity(const hyperpoint& h) {
if(!sphere) return 1;
if(vid.alpha > 1) {
return to01(1/vid.alpha, 1, -h[2]);
return to01(1/vid.alpha, 1, abs(h[2]));
}
if(vid.alpha <= 1) {