1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +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) {
if(euclid)
return eupush(cos(dir) * dist, -sin(dir));
return eupush(cos(dir) * dist, -sin(dir) * dist);
else
return spin(dir) * xpush(dist) * spin(-dir);
}