diff options
Diffstat (limited to 'code/AssetLib/MDC')
-rw-r--r-- | code/AssetLib/MDC/MDCFileData.h | 3 | ||||
-rw-r--r-- | code/AssetLib/MDC/MDCLoader.cpp | 8 | ||||
-rw-r--r-- | code/AssetLib/MDC/MDCLoader.h | 3 |
3 files changed, 6 insertions, 8 deletions
diff --git a/code/AssetLib/MDC/MDCFileData.h b/code/AssetLib/MDC/MDCFileData.h index 4c5b4127c..6715cd14b 100644 --- a/code/AssetLib/MDC/MDCFileData.h +++ b/code/AssetLib/MDC/MDCFileData.h @@ -2,8 +2,7 @@ Open Asset Import Library (assimp) ---------------------------------------------------------------------- -Copyright (c) 2006-2024, assimp team - +Copyright (c) 2006-2025, assimp team All rights reserved. diff --git a/code/AssetLib/MDC/MDCLoader.cpp b/code/AssetLib/MDC/MDCLoader.cpp index c81ba67a6..abb063d4f 100644 --- a/code/AssetLib/MDC/MDCLoader.cpp +++ b/code/AssetLib/MDC/MDCLoader.cpp @@ -3,7 +3,7 @@ Open Asset Import Library (assimp) --------------------------------------------------------------------------- -Copyright (c) 2006-2024, assimp team +Copyright (c) 2006-2025, assimp team All rights reserved. @@ -44,9 +44,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef ASSIMP_BUILD_NO_MDC_IMPORTER // internal headers -#include "AssetLib/MDC/MDCLoader.h" +#include "MDCLoader.h" #include "AssetLib/MD3/MD3FileData.h" -#include "AssetLib/MDC/MDCNormalTable.h" // shouldn't be included by other units +#include "MDCNormalTable.h" // shouldn't be included by other units #include <assimp/importerdesc.h> #include <assimp/scene.h> @@ -106,7 +106,7 @@ MDCImporter::MDCImporter() : // ------------------------------------------------------------------------------------------------ // Returns whether the class can handle the format of the given file. bool MDCImporter::CanRead(const std::string &pFile, IOSystem *pIOHandler, bool /*checkSig*/) const { - static const uint32_t tokens[] = { AI_MDC_MAGIC_NUMBER_LE }; + static constexpr uint32_t tokens[] = { AI_MDC_MAGIC_NUMBER_LE }; return CheckMagicToken(pIOHandler, pFile, tokens, AI_COUNT_OF(tokens)); } diff --git a/code/AssetLib/MDC/MDCLoader.h b/code/AssetLib/MDC/MDCLoader.h index 09ecc6865..97eae44ce 100644 --- a/code/AssetLib/MDC/MDCLoader.h +++ b/code/AssetLib/MDC/MDCLoader.h @@ -2,8 +2,7 @@ Open Asset Import Library (assimp) ---------------------------------------------------------------------- -Copyright (c) 2006-2024, assimp team - +Copyright (c) 2006-2025, assimp team All rights reserved. |