From 50d7e6fc61c8d1d6d0a0c75f35e6d59a68fcd509 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 16 Feb 2022 00:18:32 +0100 Subject: [PATCH] Add definition for skeleton --- include/assimp/mesh.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/assimp/mesh.h b/include/assimp/mesh.h index 5704e7ca0..87b9de262 100644 --- a/include/assimp/mesh.h +++ b/include/assimp/mesh.h @@ -937,6 +937,20 @@ struct aiMesh { #endif // __cplusplus }; +struct aiSkeleton { + C_STRUCT aiString mName; + unsigned int mNumWeights; + C_STRUCT aiVertexWeight *mWeights; + +#ifdef __cplusplus + aiSkeleton() AI_NO_EXCEPT : mName(), mNumWeights(0), mWeights(nullptr) { + // empty + } + ~aiSkeleton() { + + } +#endif // __cplusplus +}; #ifdef __cplusplus } #endif //! extern "C"