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:
parent
111bc3697d
commit
305ff5de33
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user