mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-20 20:49:17 -05:00
[rmodels] Added implementation of UpdateModelAnimationBonesWithBlending() function (#4578)
* [rmodels] Added implementation of `UpdateModelAnimationBonesWithBlending()` function Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> * [rmodels] Added example for animation blending and fixed wrap issue for blend factor Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> * [rmodels] Updated build information for animation blending example Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> * [rmodels] Fixed typos in anmation blending example Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> * [rmodels] Updated blend function signature and added function to update verts from bones Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> * [rmodels] Updated documentation Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> * rlparser: update raylib_api.* by CI * rlparser: update raylib_api.* by CI --------- Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com> Co-authored-by: Ray <raysan5@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
97023def48
commit
0e6cb0993d
@ -7812,6 +7812,27 @@ return {
|
||||
{type = "int", name = "frame"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "UpdateModelAnimationBonesLerp",
|
||||
description = "Update model animation mesh bone matrices with interpolation between two poses(GPU skinning)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Model", name = "model"},
|
||||
{type = "ModelAnimation", name = "animA"},
|
||||
{type = "int", name = "frameA"},
|
||||
{type = "ModelAnimation", name = "animB"},
|
||||
{type = "int", name = "frameB"},
|
||||
{type = "float", name = "value"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "UpdateModelVertsToCurrentBones",
|
||||
description = "Update model vertices according to mesh bone matrices (CPU)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Model", name = "model"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "UnloadModelAnimation",
|
||||
description = "Unload animation data",
|
||||
|
||||
Reference in New Issue
Block a user