1
0
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:
Zeno Rogue 2022-02-26 09:51:58 +01:00
parent 961b09033f
commit 729566d147

View File

@ -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;
}