Explorar o código

Add definition for skeleton

Kim Kulling %!s(int64=3) %!d(string=hai) anos
pai
achega
50d7e6fc61
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  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"