Skip to content

Commit e331ebf

Browse files
Added UnloadAnimations() as a static method
1 parent 355dfce commit e331ebf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/ModelAnimation.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ class ModelAnimation : public ::ModelAnimation {
7676
::UnloadModelAnimations(this, 1);
7777
}
7878

79-
void Unload(int count) {
80-
::UnloadModelAnimations(this, count);
79+
static void UnloadAnimations(ModelAnimation *modelAnimation, int count) {
80+
::UnloadModelAnimations(modelAnimation, count);
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)