aboutsummaryrefslogtreecommitdiff
path: root/include/model_loader/ObjModelLoader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/model_loader/ObjModelLoader.hpp')
-rw-r--r--include/model_loader/ObjModelLoader.hpp5
1 files changed, 4 insertions, 1 deletions
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 <vector>
namespace amalgine {
+ class Image;
+
class ObjModelLoader {
public:
- static void load_from_file(const char *filepath, std::vector<Triangle3D> &triangles);
+ static void load_from_file(const char *filepath, std::vector<Triangle3D> &triangles, std::vector<vec2f> &texture_coords, Image **image);
};
} \ No newline at end of file