aboutsummaryrefslogtreecommitdiff
path: root/src/load_obj.hh
diff options
context:
space:
mode:
authorccolin2020-12-28 17:36:45 +0100
committerccolin2020-12-28 17:36:45 +0100
commitf3a34665978729ef65010ac2a4a9408e27d5bf3e (patch)
treee8f4d6f2402c9b7113e33684f64b82a98d990313 /src/load_obj.hh
parentef37119f4e94c83a6357ebc0b94a39e4e53b20d7 (diff)
skybox
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