mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
smaller eps in zlev
This commit is contained in:
parent
961b09033f
commit
729566d147
@ -213,7 +213,7 @@ ld find_zlev(hyperpoint& H) {
|
||||
|
||||
if(spatial_graphics) {
|
||||
ld zlev = zlevel(H);
|
||||
if(zlev > 1-1e-6 && zlev < 1+1e-6) return 1;
|
||||
if(zlev > 1-1e-9 && zlev < 1+1e-9) return 1;
|
||||
H /= zlev;
|
||||
return zlev;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user