mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-24 06:50:09 +00:00
implemented correctly calc_relative_matrix in Euclidean
This commit is contained in:
parent
eec70d7265
commit
3ef16bf6f3
@ -107,7 +107,8 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin
|
|||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(euclid) return inverse(gmatrix0[c1]) * gmatrix0[c2];
|
if(euclid)
|
||||||
|
return eumove(cell_to_vec(c2) - cell_to_vec(c1));
|
||||||
|
|
||||||
heptagon *h1 = c1->master;
|
heptagon *h1 = c1->master;
|
||||||
transmatrix gm = master_relative(c1, true);
|
transmatrix gm = master_relative(c1, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user