Skip to content

Commit fd98a5e

Browse files
Fixed UpdateBones() to use UpdateModelAnimationsEx() instead
1 parent ad07197 commit fd98a5e

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

0 commit comments

Comments
 (0)