1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +00:00

rulegen:: added relative_matrixh

This commit is contained in:
Zeno Rogue 2021-07-30 03:01:43 +02:00
parent 6f9a784775
commit 184d32a89d

View File

@ -1445,6 +1445,10 @@ struct hrmap_rulegen : hrmap {
return c->master->zebraval; return c->master->zebraval;
} }
transmatrix relative_matrixh(heptagon *h2, heptagon *h1, const hyperpoint& hint) override {
return relative_matrix_recursive(h2, h1);
}
hyperpoint get_corner(cell *c, int cid, ld cf) { hyperpoint get_corner(cell *c, int cid, ld cf) {
if(c->master->fieldval == -1) { if(c->master->fieldval == -1) {
auto& sh = arb::current_or_slided().shapes[c->master->zebraval]; auto& sh = arb::current_or_slided().shapes[c->master->zebraval];