mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
on_dim_change clears where on sphere
This commit is contained in:
parent
7d600ecdfe
commit
b104cc0361
@ -172,6 +172,8 @@ struct hrmap_spherical : hrmap_standard {
|
||||
return Id;
|
||||
}
|
||||
|
||||
void on_dim_change() override { where.clear(); }
|
||||
|
||||
transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override {
|
||||
transmatrix T = iso_inverse(get_where(c1)) * get_where(c2);
|
||||
if(elliptic) fixelliptic(T);
|
||||
|
Loading…
Reference in New Issue
Block a user