mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +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;
|
return Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void on_dim_change() override { where.clear(); }
|
||||||
|
|
||||||
transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override {
|
transmatrix relative_matrixc(cell *c2, cell *c1, const hyperpoint& hint) override {
|
||||||
transmatrix T = iso_inverse(get_where(c1)) * get_where(c2);
|
transmatrix T = iso_inverse(get_where(c1)) * get_where(c2);
|
||||||
if(elliptic) fixelliptic(T);
|
if(elliptic) fixelliptic(T);
|
||||||
|
Loading…
Reference in New Issue
Block a user