1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

fixed xspinpush in Euclidean

This commit is contained in:
? 2019-02-26 14:34:37 +01:00 committed by Zeno Rogue
parent 111bc3697d
commit 305ff5de33

View File

@ -206,7 +206,7 @@ void precalc() {
transmatrix xspinpush(ld dir, ld dist) { transmatrix xspinpush(ld dir, ld dist) {
if(euclid) if(euclid)
return eupush(cos(dir) * dist, -sin(dir)); return eupush(cos(dir) * dist, -sin(dir) * dist);
else else
return spin(dir) * xpush(dist) * spin(-dir); return spin(dir) * xpush(dist) * spin(-dir);
} }