mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
split btrange to btrange and btrange_cosh
This commit is contained in:
parent
695d29475a
commit
5212be555e
@ -271,7 +271,7 @@ namespace binary {
|
|||||||
return hr::parabolic13(y * co, z * co);
|
return hr::parabolic13(y * co, z * co);
|
||||||
}
|
}
|
||||||
|
|
||||||
ld btrange = 20;
|
ld btrange = 3, btrange_cosh;
|
||||||
|
|
||||||
void draw() {
|
void draw() {
|
||||||
dq::visited.clear();
|
dq::visited.clear();
|
||||||
@ -291,7 +291,7 @@ namespace binary {
|
|||||||
if(!do_draw(c, V)) continue;
|
if(!do_draw(c, V)) continue;
|
||||||
#endif
|
#endif
|
||||||
#if DIM==3
|
#if DIM==3
|
||||||
if(V[DIM][DIM] > btrange) continue;
|
if(V[DIM][DIM] > btrange_cosh) continue;
|
||||||
setdist(c, 7, c);
|
setdist(c, 7, c);
|
||||||
#endif
|
#endif
|
||||||
drawcell(c, V, 0, false);
|
drawcell(c, V, 0, false);
|
||||||
@ -354,7 +354,7 @@ auto bt_config = addHook(hooks_args, 0, [] () {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if(argis("-btrange")) {
|
else if(argis("-btrange")) {
|
||||||
shift_arg_formula(btrange);
|
shift_arg_formula(btrange, delayed_geo_reset);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user