3d:: pseudohept specified

This commit is contained in:
? authored and Zeno Rogue committed 2019-09-12 22:38:42 +02:00
1 parent a1ca5b2995
commit b8913b39fd
4 files changed
+26 -1

No files matched your search

+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);