mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
3d:: fixed iddspin
This commit is contained in:
1 parent
105de56857
commit
9ab7b53b54
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user