1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 14:17:10 +00:00

btrange_cosh checked in do_draw

This commit is contained in:
?
2019-02-24 22:11:05 +01:00
committed by Zeno Rogue
parent d08e58f404
commit e8fa30de4c
2 changed files with 8 additions and 5 deletions

View File

@@ -1589,6 +1589,13 @@ bool do_draw(cell *c) {
}
bool do_draw(cell *c, const transmatrix& T) {
if(DIM == 3) {
if(hyperbolic && V[DIM][DIM] > btrange_cosh) return false;
if(euclid && hypot_d(tC0(T), 3)) return false;
setdist(c, 7, c);
return true;
}
if(just_gmatrix && sphere) return true;
if(!do_draw(c)) return false;
if(euclid && pmodel == mdSpiral) {