فهرست منبع

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"