altmap relspin is now remembered in altmap::relspin

This commit is contained in:
Zeno Rogue committed 2021-07-31 15:12:06 +02:00
1 parent 2e47da5d2c
commit bac88ea9fd
2 files changed
+31 -22

No files matched your search

+6
View File
@@ -94,6 +94,7 @@ struct hrmap_standard : hrmap {
virtual int shvid(cell *c) override;
virtual hyperpoint get_corner(cell *c, int cid, ld cf) override;
virtual transmatrix master_relative(cell *c, bool get_inverse) override;
virtual bool link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) override;
};
void clearfrom(heptagon*);
@@ -132,6 +133,11 @@ bool hrmap::link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
return true;
}
bool hrmap_standard::link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
altmap::relspin(alt) = 3;
return true;
}
void hrmap::virtualRebase(heptagon*& base, transmatrix& at) {
printf("virtualRebase called unexpectedly\n");
return;