mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-02 14:04:30 +00:00
stuff affected by on_dim_change now implements the dim_listener interface
This commit is contained in:
1 parent
58c243f3f0
commit
9bfc3ba400
6 files changed
+35
-17
No files matched your search
+4
-2
@@ -172,11 +172,13 @@ struct hrmap_spherical : hrmap_standard {
|
||||
return Id;
|
||||
}
|
||||
|
||||
void on_dim_change() override {
|
||||
hrmap_standard::on_dim_change();
|
||||
void reinit() override {
|
||||
hrmap_standard::reinit();
|
||||
where.clear();
|
||||
}
|
||||
|
||||
void on_dim_change() override { reinit(); }
|
||||
|
||||
transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override {
|
||||
if(IRREGULAR) return relative_matrix_via_masters(c2, c1, hint);
|
||||
transmatrix T = iso_inverse(get_where(c1)) * get_where(c2);
|
||||
|
||||
Reference in new issue
Block a user