Add function aiGetVersionPatch() to be able to display Assimp version as in Git tags

This commit is contained in:
Loïc
2019-11-22 18:27:34 +01:00
parent 981c4b6302
commit 5cfb0fd633
2 changed files with 13 additions and 0 deletions

View File

@@ -66,6 +66,12 @@ ASSIMP_API const char* aiGetLegalString () {
return LEGAL_INFORMATION;
}
// ------------------------------------------------------------------------------------------------
// Get Assimp patch version
ASSIMP_API unsigned int aiGetVersionPatch() {
return VER_PATCH;
}
// ------------------------------------------------------------------------------------------------
// Get Assimp minor version
ASSIMP_API unsigned int aiGetVersionMinor () {