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

3d:: pseudohept specified

This commit is contained in:
?
2019-02-27 14:40:56 +01:00
committed by Zeno Rogue
parent a1ca5b2995
commit b8913b39fd
4 changed files with 26 additions and 1 deletions

View File

@@ -528,6 +528,12 @@ namespace euclid3 {
return x;
}
bool pseudohept(cell *c) {
coord co = cubemap()->ispacemap[c->master];
for(int i=0; i<3; i++) if(!(getcoord(co, i) & 1)) return false;
return true;
}
void draw() {
dq::visited.clear();
dq::enqueue(viewctr.at, cview());