Fixed TextureTypeToString defined multiple times.

- Moved TextureTypeToString to it's own file.
- Added new file to CMakeLists.txt.
- Added 6 missing values in TextureTypeToString.
- Added 6 missing aiTextureType enum values in assimp_cmd/Info.cpp.
This commit is contained in:
Marc-Antoine Lortie
2020-02-06 13:19:01 -05:00
parent 355131e261
commit 8c09cd2ef3
7 changed files with 108 additions and 84 deletions
+4
View File
@@ -312,6 +312,10 @@ enum aiTextureType
#define AI_TEXTURE_TYPE_MAX aiTextureType_UNKNOWN
// -------------------------------------------------------------------------------
// Get a string for a given aiTextureType
ASSIMP_API const char* TextureTypeToString(enum aiTextureType in);
// ---------------------------------------------------------------------------
/** @brief Defines all shading models supported by the library
*