From e4d073947d09634e95325ddaf8f1615f85e85901 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 15 Feb 2020 01:36:41 +0100 Subject: Load texture in obj model loader.. broken --- include/model_loader/ObjModelLoader.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/model_loader/ObjModelLoader.hpp') diff --git a/include/model_loader/ObjModelLoader.hpp b/include/model_loader/ObjModelLoader.hpp index 3cdeb7d..5078244 100644 --- a/include/model_loader/ObjModelLoader.hpp +++ b/include/model_loader/ObjModelLoader.hpp @@ -1,11 +1,14 @@ #pragma once #include "../Triangle.hpp" +#include "../Vec.hpp" #include namespace amalgine { + class Image; + class ObjModelLoader { public: - static void load_from_file(const char *filepath, std::vector &triangles); + static void load_from_file(const char *filepath, std::vector &triangles, std::vector &texture_coords, Image **image); }; } \ No newline at end of file -- cgit v1.2.3