/* # ______ ____ ___ # | \/ ____| |___| # | | | \ | | #----------------------------------------------------------------------- # Copyright 2020, tyra - https://github.com/h4570/tyra # Licenced under Apache License 2.0 # Sandro Sobczyński */ #pragma once #include namespace Tyra { /** Class responsible for loading&parsing Quake's II ".md2" 3D files */ class MD2Loader : public Loader { public: MD2Loader(); ~MD2Loader(); MeshBuilderData* load(const char* fullpath, const float& scale, const bool& invertT); inline MeshBuilderData* load(const std::string& fullpath, const float& scale, const bool& invertT) { return load(fullpath.c_str(), scale, invertT); } }; } // namespace Tyra