mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-29 16:32:53 +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(!sphere) return 1;
|
||||||
|
|
||||||
if(vid.alpha > 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) {
|
if(vid.alpha <= 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user