Files
assimp/code/AssimpPCH.cpp
aramis_acg 94d289d1a3 Updated boost workaround. Added -noboost build config to VC8.
Added aiGetVersionMinor, aiGetVersionMajor, aiGetRevision and aiGetLegalInformation(). They allow to query the library version at runtime.
Added reference images for cylindric and spherical mapping.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@255 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2008-11-29 15:30:50 +00:00

48 lines
1.5 KiB
C++

// This is a dummy unit - it is used to generate the precompiled header file.
// + it contains version management functions
#include "AssimpPCH.h"
// ################################################################################
// Legal information string
// Note that this string must be contained in the compiled image.
static const char* LEGAL_INFORMATION =
"Open Asset Import Library (ASSIMP).\n"
"A free C/C++ library to import various 3D file formats into applications\n\n"
"(c) ASSIMP Development Team, 2008-2009\n"
"License: modified BSD license (http://assimp.sourceforge.net/main_license.html)\n"
"Website: http://assimp.sourceforge.net\n"
;
// ################################################################################
// ------------------------------------------------------------------------------------------------
ASSIMP_API const char* aiGetLegalString ()
{
return LEGAL_INFORMATION;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionMinor ()
{
return 5;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionMajor ()
{
return 0;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionRevision ()
{
// TODO: find a way to update the revision number automatically
return 254;
}