simplified ddspin/iddspin/cellgfxdist, replaced cellrelmatrix with adj/iadj

This commit is contained in:
Zeno Rogue committed 2019-11-14 00:27:59 +01:00
1 parent ef9e2236ba
commit 109dd9823c
6 files changed
+48 -35

No files matched your search

+2
View File
@@ -145,6 +145,8 @@ struct hrmap_asonov : hrmap {
return child;
}
transmatrix adj(cell *c, int i) override { return adjmatrix(i); }
virtual transmatrix relative_matrix(heptagon *h2, heptagon *h1) override {
for(int a=0; a<S7; a++) if(h2 == h1->move(a)) return adjmatrix(a);
return Id;