1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-12 11:43:01 +00:00

qHUGE_BOUNDED to detect bounded geometries not to be computed fully

This commit is contained in:
Zeno Rogue
2019-11-15 02:19:26 +01:00
parent 577ab0e1d4
commit 6655a73e5e
4 changed files with 8 additions and 6 deletions

View File

@@ -212,6 +212,7 @@ EX void set_flags() {
set_flag(flag, qANYQ, period_xy || period_z);
set_flag(flag, qBOUNDED, period_xy && period_z);
set_flag(flag, qSMALL, period_xy && period_z && (period_xy * period_xy * period_z <= 4096));
set_flag(flag, qHUGE_BOUNDED, period_xy * period_xy * period_z > 16384);
}
EX void prepare_config() {