Skip to content

Commit 4e3a5ea

Browse files
Fixed: Reverted UpdateModelAnimationEx() to UpdateModelAnimation(). Corrected typos
1 parent fd98a5e commit 4e3a5ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/ModelAnimation.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ModelAnimation : public ::ModelAnimation {
7171
/**
7272
* Unload animation data
7373
*/
74-
void Unload(int animCount) { ::UnloadModelAnimation(this, animCount); }
74+
void Unload(int animCount) { ::UnloadModelAnimations(this, animCount); }
7575

7676
/**
7777
* Update model animation pose
@@ -84,8 +84,8 @@ class ModelAnimation : public ::ModelAnimation {
8484
/**
8585
* Update model animation mesh bone matrices (GPU skinning)
8686
*/
87-
ModelAnimation& UpdateBones(const ::Model& animA, float frameA, const ::Model& animB, float frameB, float blend) {
88-
::UpdateModelAnimationEx(*this, animA, frameA, animB, frameB, blend);
87+
ModelAnimation& UpdateBones(const ::Model& model, int frame) {
88+
::UpdateModelAnimation(model, *this, frame);
8989
return *this;
9090
}
9191

0 commit comments

Comments
 (0)