浏览代码

Add definition for skeleton

Kim Kulling 3 年之前
父节点
当前提交
50d7e6fc61
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      include/assimp/mesh.h

+ 14 - 0
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"