This commit is contained in:
n0ffie 2025-02-12 23:24:58 +01:00
parent 2dbfa1b99e
commit b1230534c5
22 changed files with 547 additions and 429 deletions

View file

@ -23,7 +23,7 @@ typedef struct {
float time;
} sprite_animation_t, *SpriteAnimation;
SpriteAnimation CreateSpriteAnimation(Texture2D texture, Vector2 sprite_texture_dimentions, Vector2 sprite_size, float rotation, float scale, int frameCount);
SpriteAnimation CreateSpriteAnimation(Texture2D texture, Vector2 sprite_texture_dimentions, Vector2 sprite_size, float rotation, float scale, int frameCount, float speed);
void UpdateSpriteAnimation(SpriteAnimation spriteAnimation, float dt);
@ -35,4 +35,4 @@ void DestroySpriteAnimation(SpriteAnimation spriteAnimation);
}
#endif
#endif // ANIMATION_SPRITE_H
#endif // ANIMATION_SPRITE_H