use boneName instead of boneIndex for setBoneTransform

This commit is contained in:
Nick Fisher
2023-11-18 00:28:31 +08:00
parent 572a945025
commit 0c698d16e3
8 changed files with 45 additions and 39 deletions

View File

@@ -62,10 +62,10 @@ namespace polyvox
/// @param entityId
/// @param entityName
/// @param skinIndex
/// @param boneIndex
/// @param boneName
/// @param transform
/// @return
bool setBoneTransform(EntityId entityId, const char *entityName, int skinIndex, int boneIndex, math::mat4f transform);
bool setBoneTransform(EntityId entityId, const char *entityName, int skinIndex, const char* boneName, math::mat4f transform);
/// @brief Set frame data to animate the given bones/entities.
/// @param entity