mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-22 00:04:07 +00:00
typo fix
This commit is contained in:
parent
adec776947
commit
03a0cc2722
@ -39,7 +39,7 @@ void circ_frame() {
|
|||||||
for(int it=0; it<100; it++) {
|
for(int it=0; it<100; it++) {
|
||||||
ld x = (min + max) / 2;
|
ld x = (min + max) / 2;
|
||||||
ld f = sin_auto(2*x) - ratio * sin_auto(x);
|
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;
|
else min = x;
|
||||||
}
|
}
|
||||||
circ1 = sin_auto(min);
|
circ1 = sin_auto(min);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user