From bde4a9f40bb4af39270a124d5ef9571a83305d0a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 30 Jan 2021 20:36:42 +0000 Subject: Restructure to allow a resource path and testing --- gfx/models/obj_loader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gfx/models/obj_loader.h') 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 #include #include #include @@ -36,7 +37,7 @@ public: bool hasUVs; bool hasNormals; - explicit OBJModel(const std::string & fileName); + explicit OBJModel(const std::filesystem::path & fileName); IndexedModel ToIndexedModel(); -- cgit v1.2.3