3d:: fixed iddspin

This commit is contained in:
Zeno Rogue
2019-09-12 22:38:44 +02:00
parent 105de56857
commit 9ab7b53b54
+1 -1
View File
@@ -314,7 +314,7 @@ transmatrix ddspin(cell *c, int d, ld bonus) {
}
transmatrix iddspin(cell *c, int d, ld bonus) {
if(DIM == 3) return spintox(tC0(calc_relative_matrix(c->move(d), c, C0))) * cspin(0, 2, bonus);
if(DIM == 3) return cspin(0, 2, bonus) * spintox(tC0(calc_relative_matrix(c->move(d), c, C0)));
return spin(hexshiftat(c) - displayspin(c, d) + bonus);
}