3d:: pseudohept specified

This commit is contained in:
?
2019-09-12 22:38:42 +02:00
committed by Zeno Rogue
parent a1ca5b2995
commit b8913b39fd
4 changed files with 26 additions and 1 deletions
+7
View File
@@ -343,6 +343,13 @@ auto bt_config = addHook(hooks_args, 0, [] () {
});
#endif
bool pseudohept(cell *c) {
if(DIM == 2)
return c->type & c->master->distance & 1;
else
return (c->master->zebraval == 1) && (c->master->distance & 1);
}
int celldistance3(cell *c1, cell *c2) { // [untested]
int steps = 0;
int d1 = celldistAlt(c1);