1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-20 23:54:49 +00:00

fixed MAXMDIM guards

This commit is contained in:
Zeno Rogue
2019-11-03 14:19:11 +01:00
parent 02bb9d5ea5
commit 43bf7c5cfe
7 changed files with 28 additions and 17 deletions

View File

@@ -2011,16 +2011,14 @@ EX namespace dq {
drawqueue.emplace(h, T, band_shift);
}
#if MAXMDIM >= 4
EX set<int> visited_by_matrix;
EX void enqueue_by_matrix(heptagon *h, const transmatrix& T) {
if(!h) return;
int b = reg3::bucketer(tC0(T));
int b = bucketer(tC0(T));
if(visited_by_matrix.count(b)) { return; }
visited_by_matrix.insert(b);
drawqueue.emplace(h, T, band_shift);
}
#endif
EX }
EX bool do_draw(cell *c) {