summaryrefslogtreecommitdiff
path: root/AnimationMove.c
diff options
context:
space:
mode:
Diffstat (limited to 'AnimationMove.c')
-rw-r--r--AnimationMove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AnimationMove.c b/AnimationMove.c
index 3881bf1..696150c 100644
--- a/AnimationMove.c
+++ b/AnimationMove.c
@@ -23,7 +23,7 @@ AM_Spin(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* p
double radius = sqrt(r * r + c * c);
double phi = atan2(c, r);
- phi += ms.theta * frameIndex;
+ phi += ms.theta + ms.dTheta * frameIndex;
r = (ms.centerRow + (i32)(radius * cos(phi)));
c = (ms.centerCol + (i32)(radius * sin(phi)));