Implement UnloadModelAnimations (#1648)
This commit is contained in:
parent
f7e48c95cd
commit
bc9194690c
2 changed files with 8 additions and 0 deletions
|
@ -1112,6 +1112,13 @@ void UpdateModelAnimation(Model model, ModelAnimation anim, int frame)
|
|||
}
|
||||
}
|
||||
|
||||
// Unload animation array data
|
||||
void UnloadModelAnimations(ModelAnimation* animations, unsigned int count)
|
||||
{
|
||||
for (int i = 0; i < count; i++) UnloadModelAnimation(animations[i]);
|
||||
RL_FREE(animations);
|
||||
}
|
||||
|
||||
// Unload animation data
|
||||
void UnloadModelAnimation(ModelAnimation anim)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue