mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 09:17:57 +00:00
fixed spherity
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user