aboutsummaryrefslogtreecommitdiff
path: root/src/load_obj.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/load_obj.hh')
-rw-r--r--src/load_obj.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/load_obj.hh b/src/load_obj.hh
new file mode 100644
index 0000000..089d4b5
--- /dev/null
+++ b/src/load_obj.hh
@@ -0,0 +1,13 @@
+#ifndef LOAD_OBJ_HH
+#define LOAD_OBJ_HH
+
+#include <QVector>
+#include <QOpenGLFunctions>
+
+#define LOAD_OBJ_NORMALS 1 << 0
+#define LOAD_OBJ_UVS 1 << 1
+
+QVector<GLfloat> load_obj(const char *path, int flags);
+
+
+#endif