stuff
This commit is contained in:
parent
2dbfa1b99e
commit
b1230534c5
22 changed files with 547 additions and 429 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue