mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-17 00:03:19 +00:00
fixed a crash with irregular spherical maps
This commit is contained in:
parent
bc22d17a16
commit
9aa15f96e1
@ -178,6 +178,7 @@ struct hrmap_spherical : hrmap_standard {
|
||||
}
|
||||
|
||||
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);
|
||||
if(elliptic) fixelliptic(T);
|
||||
return T;
|
||||
|
Loading…
x
Reference in New Issue
Block a user