mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
3d:: fixed iddspin
This commit is contained in:
parent
105de56857
commit
9ab7b53b54
@ -314,7 +314,7 @@ transmatrix ddspin(cell *c, int d, ld bonus) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
transmatrix iddspin(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);
|
return spin(hexshiftat(c) - displayspin(c, d) + bonus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user