aboutsummaryrefslogtreecommitdiff
path: root/include/model_loader
diff options
context:
space:
mode:
Diffstat (limited to 'include/model_loader')
-rw-r--r--include/model_loader/ObjModelLoader.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/model_loader/ObjModelLoader.hpp b/include/model_loader/ObjModelLoader.hpp
new file mode 100644
index 0000000..3cdeb7d
--- /dev/null
+++ b/include/model_loader/ObjModelLoader.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "../Triangle.hpp"
+#include <vector>
+
+namespace amalgine {
+ class ObjModelLoader {
+ public:
+ static void load_from_file(const char *filepath, std::vector<Triangle3D> &triangles);
+ };
+} \ No newline at end of file