1
0

Test invalid JSON

Also converted all .cpp and .h line endings to CRLF in this commit.
This commit is contained in:
JosiahWI
2022-10-22 16:36:29 -05:00
committed by Josiah VanderZee
parent 8c9c1e57ea
commit 21c3c16557
6 changed files with 278 additions and 192 deletions

View File

@@ -0,0 +1,33 @@
#ifndef __C_GLTF_MESH_FILE_LOADER_INCLUDED__
#define __C_GLTF_MESH_FILE_LOADER_INCLUDED__
#include "IAnimatedMesh.h"
#include "IMeshLoader.h"
#include "IReadFile.h"
#include "path.h"
namespace irr
{
namespace scene
{
class CGLTFMeshFileLoader : public IMeshLoader
{
public:
CGLTFMeshFileLoader();
bool isALoadableFileExtension(const io::path& filename) const override;
IAnimatedMesh* createMesh(io::IReadFile* file) override;
private:
bool tryParseGLTF(io::IReadFile* file) const;
};
} // namespace scene
} // namespace irr
#endif // __C_GLTF_MESH_FILE_LOADER_INCLUDED__