|
@@ -566,6 +566,9 @@ struct aiAnimMesh {
|
|
/** @brief Enumerates the methods of mesh morphing supported by Assimp.
|
|
/** @brief Enumerates the methods of mesh morphing supported by Assimp.
|
|
*/
|
|
*/
|
|
enum aiMorphingMethod {
|
|
enum aiMorphingMethod {
|
|
|
|
+ /** Morphing method to be determined */
|
|
|
|
+ aiMorphingMethod_UNKNOWN = 0x0,
|
|
|
|
+
|
|
/** Interpolation between morph targets */
|
|
/** Interpolation between morph targets */
|
|
aiMorphingMethod_VERTEX_BLEND = 0x1,
|
|
aiMorphingMethod_VERTEX_BLEND = 0x1,
|
|
|
|
|
|
@@ -747,7 +750,7 @@ struct aiMesh {
|
|
* Method of morphing when anim-meshes are specified.
|
|
* Method of morphing when anim-meshes are specified.
|
|
* @see aiMorphingMethod to learn more about the provided morphing targets.
|
|
* @see aiMorphingMethod to learn more about the provided morphing targets.
|
|
*/
|
|
*/
|
|
- unsigned int mMethod;
|
|
|
|
|
|
+ enum aiMorphingMethod mMethod;
|
|
|
|
|
|
/**
|
|
/**
|
|
* The bounding box.
|
|
* The bounding box.
|
|
@@ -778,7 +781,7 @@ struct aiMesh {
|
|
mMaterialIndex(0),
|
|
mMaterialIndex(0),
|
|
mNumAnimMeshes(0),
|
|
mNumAnimMeshes(0),
|
|
mAnimMeshes(nullptr),
|
|
mAnimMeshes(nullptr),
|
|
- mMethod(0),
|
|
|
|
|
|
+ mMethod(aiMorphingMethod_UNKNOWN),
|
|
mAABB(),
|
|
mAABB(),
|
|
mTextureCoordsNames(nullptr) {
|
|
mTextureCoordsNames(nullptr) {
|
|
for (unsigned int a = 0; a < AI_MAX_NUMBER_OF_TEXTURECOORDS; ++a) {
|
|
for (unsigned int a = 0; a < AI_MAX_NUMBER_OF_TEXTURECOORDS; ++a) {
|
|
@@ -1002,7 +1005,7 @@ struct aiSkeletonBone {
|
|
#endif // __cplusplus
|
|
#endif // __cplusplus
|
|
};
|
|
};
|
|
/**
|
|
/**
|
|
- * @brief
|
|
|
|
|
|
+ * @brief
|
|
*/
|
|
*/
|
|
struct aiSkeleton {
|
|
struct aiSkeleton {
|
|
/**
|
|
/**
|