mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-18 13:44:30 +00:00
fixed xspinpush in Euclidean
This commit is contained in:
1 parent
111bc3697d
commit
305ff5de33
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user