summaryrefslogtreecommitdiff
path: root/gfx/models/obj_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/models/obj_loader.h')
-rw-r--r--gfx/models/obj_loader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/models/obj_loader.h b/gfx/models/obj_loader.h
index 0523a95..2fe3d35 100644
--- a/gfx/models/obj_loader.h
+++ b/gfx/models/obj_loader.h
@@ -1,6 +1,7 @@
#ifndef OBJ_LOADER_H_INCLUDED
#define OBJ_LOADER_H_INCLUDED
+#include <filesystem>
#include <glm/glm.hpp>
#include <string>
#include <vector>
@@ -36,7 +37,7 @@ public:
bool hasUVs;
bool hasNormals;
- explicit OBJModel(const std::string & fileName);
+ explicit OBJModel(const std::filesystem::path & fileName);
IndexedModel ToIndexedModel();