1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00
This commit is contained in:
Zeno Rogue 2021-02-08 17:13:03 +01:00
parent adec776947
commit 03a0cc2722

View File

@ -39,7 +39,7 @@ void circ_frame() {
for(int it=0; it<100; it++) {
ld x = (min + max) / 2;
ld f = sin_auto(2*x) - ratio * sin_auto(x);
if(f > 0 ^ spherical) max = x;
if((f > 0) ^ sphere) max = x;
else min = x;
}
circ1 = sin_auto(min);