mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed spherity
This commit is contained in:
parent
566a323eb4
commit
77cf19fadc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user