mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
gp::INVERSE:: relative_matrix now works correctly
This commit is contained in:
parent
1ab72ba964
commit
f4a596ed87
@ -1121,6 +1121,14 @@ EX namespace gp {
|
||||
return c;
|
||||
}
|
||||
|
||||
transmatrix relative_matrix(heptagon *h2, heptagon *h1, const hyperpoint& hint) override {
|
||||
return in_underlying([&] { return currentmap->relative_matrix(h2, h1, hint); });
|
||||
}
|
||||
|
||||
transmatrix relative_matrix(cell *c2, cell *c1, const hyperpoint& hint) override {
|
||||
return in_underlying([&] { return currentmap->relative_matrix(c2, c1, hint); });
|
||||
}
|
||||
|
||||
~hrmap_inverse() {
|
||||
in_underlying([this] { delete underlying_map; });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user