mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-13 05:37:38 +00:00
fixed Archimedean and Penrose
This commit is contained in:
@@ -636,8 +636,12 @@ struct hrmap_archimedean : hrmap {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
transmatrix adj(cell *c, int dir) override {
|
||||
return calc_relative_matrix(c->cmove(dir), c, C0);
|
||||
}
|
||||
|
||||
transmatrix relative_matrix(heptagon *h2, heptagon *h1) {
|
||||
transmatrix relative_matrix(heptagon *h2, heptagon *h1, const hyperpoint& hint) override {
|
||||
if(gmatrix0.count(h2->c7) && gmatrix0.count(h1->c7))
|
||||
return inverse(gmatrix0[h1->c7]) * gmatrix0[h2->c7];
|
||||
transmatrix gm = Id, where = Id;
|
||||
|
Reference in New Issue
Block a user