1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 06:33:19 +00:00

implemented correctly calc_relative_matrix in Euclidean

This commit is contained in:
Zeno Rogue 2018-11-18 01:39:12 +01:00
parent eec70d7265
commit 3ef16bf6f3

View File

@ -107,7 +107,8 @@ transmatrix calc_relative_matrix(cell *c2, cell *c1, const hyperpoint& point_hin
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;
transmatrix gm = master_relative(c1, true);