We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802852c commit 242584aCopy full SHA for 242584a
1 file changed
include/c2d/sprite.h
@@ -52,7 +52,7 @@ static inline void C2D_SpriteScale(C2D_Sprite* sprite, float x, float y)
52
sprite->params.pos.w *= x;
53
sprite->params.pos.h *= y;
54
sprite->params.center.x *= x;
55
- sprite->params.center.y *= x;
+ sprite->params.center.y *= y;
56
}
57
58
/** @brief Rotate sprite (relative)
0 commit comments