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

nilv:: qSMALL flag set for Nil quotients when appropriate

This commit is contained in:
Zeno Rogue 2019-11-08 14:57:44 +01:00
parent afe031aa24
commit 73197c86c6

View File

@ -857,6 +857,7 @@ EX namespace nilv {
for(int a=0; a<3; a++) if(nilperiod[a]) coords++;
set_flag(ginf[gNil].flags, qANYQ, coords);
set_flag(ginf[gNil].flags, qBOUNDED, coords == 3);
set_flag(ginf[gNil].flags, qSMALL, coords == 3 && nilperiod[0] * nilperiod[1] * nilperiod[2] <= 4096);
}
EX hyperpoint on_geodesic(hyperpoint s0, hyperpoint s1, ld x) {