1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 14:17:10 +00:00

3d:: celldistances

This commit is contained in:
?
2019-02-27 15:50:26 +01:00
committed by Zeno Rogue
parent 714ff8462a
commit 9319c3b0fa
2 changed files with 9 additions and 1 deletions

View File

@@ -534,6 +534,11 @@ namespace euclid3 {
return true;
}
bool dist_alt(cell *c) {
coord co = cubemap()->ispacemap[c->master];
return getcoord(co, 2);
}
void draw() {
dq::visited.clear();
dq::enqueue(viewctr.at, cview());