Prechádzať zdrojové kódy

Add definition for skeleton

Kim Kulling 3 rokov pred
rodič
commit
50d7e6fc61
1 zmenil súbory, kde vykonal 14 pridanie a 0 odobranie
  1. 14 0
      include/assimp/mesh.h

+ 14 - 0
include/assimp/mesh.h

@@ -937,6 +937,20 @@ struct aiMesh {
 #endif // __cplusplus
 #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
 #ifdef __cplusplus
 }
 }
 #endif //! extern "C"
 #endif //! extern "C"