stuff affected by on_dim_change now implements the dim_listener interface

This commit is contained in:
Zeno Rogue committed 2026-04-16 19:02:07 +02:00
1 parent 58c243f3f0
commit 9bfc3ba400
6 files changed
+35 -17

No files matched your search

+4 -2
View File
@@ -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);