1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

in 3DIM, do_draw is now always called if cells_drawn < 50

This commit is contained in:
Zeno Rogue 2019-10-12 13:15:15 +02:00
parent 94857cad86
commit 06cfce6e23

View File

@ -2043,6 +2043,7 @@ EX bool do_draw(cell *c, const transmatrix& T) {
if(hybrid::pmap) return hybrid::do_draw(c, T);
if(WDIM == 3) {
if(cells_drawn > vid.cells_drawn_limit) return false;
if(cells_drawn < 50) return true;
if(nil && pmodel == mdGeodesic) {
ld dist = hypot_d(3, inverse_exp(tC0(T), iLazy));
if(dist > sightranges[geometry] + (vid.sloppy_3d ? 0 : 0.9)) return false;