From bef66deedaf7cb08b59fa291c64a3b720bd54009 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 8 Jun 2023 20:56:14 +0200 Subject: [PATCH] Update glTF2Importer.h --- code/AssetLib/glTF2/glTF2Importer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/AssetLib/glTF2/glTF2Importer.h b/code/AssetLib/glTF2/glTF2Importer.h index bc2234687..2be42126c 100644 --- a/code/AssetLib/glTF2/glTF2Importer.h +++ b/code/AssetLib/glTF2/glTF2Importer.h @@ -60,7 +60,7 @@ namespace Assimp { class glTF2Importer : public BaseImporter { public: glTF2Importer(); - ~glTF2Importer() override; + ~glTF2Importer() override = default; bool CanRead(const std::string &pFile, IOSystem *pIOHandler, bool checkSig) const override; protected: @@ -77,10 +77,9 @@ private: void ImportNodes(glTF2::Asset &a); void ImportAnimations(glTF2::Asset &a); void ImportCommonMetadata(glTF2::Asset &a); - aiNode *ImportNode(glTF2::Asset &r, glTF2::Ref &ptr); - private: +private: std::vector meshOffsets; std::vector mEmbeddedTexIdxs; std::vector> mVertexRemappingTables; // for each converted aiMesh in the scene, it stores a list of vertices that are actually used