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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user