fix dynamic bone animations

This commit is contained in:
Nick Fisher
2023-04-28 20:53:16 +08:00
parent 62c4be0563
commit bbb3cb5727
13 changed files with 170 additions and 130 deletions

View File

@@ -362,7 +362,8 @@ extern "C" {
int numFrames,
int numBones,
const char** const boneNames,
const char* const meshName,
const char** const meshNames,
int numMeshTargets,
float frameLengthInMs) {
//std::packaged_task<void()> lambda([=]() mutable {
((AssetManager*)assetManager)->setBoneAnimationBuffer(
@@ -371,7 +372,8 @@ extern "C" {
numFrames,
numBones,
boneNames,
meshName,
meshNames,
numMeshTargets,
frameLengthInMs
);
//});