irrlicht/source/Irrlicht/CB3DJSONMeshFileLoader.cpp

29 lines
491 B
C++
Raw Normal View History

2023-11-26 07:43:26 +01:00
#include "IAnimatedMesh.h"
#include "IMeshLoader.h"
#include "IReadFile.h"
#include "path.h"
2023-11-26 08:39:42 +01:00
#include "json/json.hpp"
2023-11-26 07:48:13 +01:00
namespace irr
{
namespace scene
{
class CB3DJSONMeshFileLoader : public IMeshLoader
{
public:
2023-11-26 08:03:32 +01:00
CB3DJSONMeshFileLoader::CB3DJSONMeshFileLoader()
{
}
2023-11-26 07:48:13 +01:00
2023-11-26 08:03:32 +01:00
bool CB3DJSONMeshFileLoader::isALoadableFileExtension(
const io::path& fileName) const
{
return core::hasFileExtension(fileName, "b3djson");
}
2023-11-26 07:48:13 +01:00
};// class CB3DJSONMeshFileLoader
} // namespace scene
} // namespace irr