1
C / Sprite Vertical axis rotation
« on: November 24, 2023, 03:17:14 pm »
Hi.
I'm trying to rotate a sprite by its vertical axis. For example, rotate a sprite with a person walking to the right become a person walking to the left. I only found sfSprite_rotate() and sfSprite_setRotation() which rotate a sprite upon a point ...
Is there a simple function to do this ?
I'm trying to rotate a sprite by its vertical axis. For example, rotate a sprite with a person walking to the right become a person walking to the left. I only found sfSprite_rotate() and sfSprite_setRotation() which rotate a sprite upon a point ...
Is there a simple function to do this ?