From 807e0ce9d98e320c23f70295107d442dc10732db Mon Sep 17 00:00:00 2001 From: LandaMm Date: Wed, 1 Oct 2025 10:41:24 +0200 Subject: [PATCH] feat: accept filesystem path --- src/model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model.cpp b/src/model.cpp index 05b4ea3..c99cbbf 100644 --- a/src/model.cpp +++ b/src/model.cpp @@ -86,7 +86,7 @@ Object::Object() { m_texCoords = std::vector(); } -void Object::LoadMaterials(const std::string& filename) { +void Object::LoadMaterials(const std::filesystem::path& filename) { std::ifstream file(filename); std::string currentMaterialName;