fixed binary tiling

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:43:01 +02:00
1 parent 0386f4179c
commit 282b3d79a2
3 files changed
+8 -6

No files matched your search

+2 -3
View File
@@ -62,17 +62,16 @@ hstate transition(hstate s, int dir) {
#define COMPUTE -1000000
// create a new heptagon
heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int pard = 0, int zv = 0) {
heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int pard = 0) {
h->alt = NULL;
h->s = s;
h->zebraval = zv;
h->c.connect(pard, parent, d, false);
h->cdata = NULL;
return h;
}
heptagon *buildHeptagon(heptagon *parent, int d, hstate s, int pard = 0, int fixdistance = COMPUTE) {
heptagon *h = buildHeptagon1(tailored_alloc<heptagon> (S7), parent, d, s, pard, fixdistance);
heptagon *h = buildHeptagon1(tailored_alloc<heptagon> (S7), parent, d, s, pard);
if(binarytiling || archimedean) return h;
if(parent->c7) {
#if CAP_IRR