diff --git a/include/model.h b/include/model.h index 0148b88..aeab2dc 100644 --- a/include/model.h +++ b/include/model.h @@ -2,6 +2,7 @@ #define MODEL_H_ #include #include +#include #include #include #include @@ -120,7 +121,7 @@ public: static Object LoadFile(const std::string& filename); private: - void LoadMaterials(const std::string& filename); + void LoadMaterials(const std::filesystem::path& filename); private: void AddMaterial(std::string name, std::shared_ptr material); std::shared_ptr GetMaterial(std::string name);