aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-03-29 17:21:15 +0000
committerJoursoir <chat@joursoir.net>2021-03-29 17:21:15 +0000
commit6d02f0a7558b27596450f9ec72d4905f8362fc25 (patch)
tree3f412d2ddb6fb735e122beeaa4baa731e5beec5d
parent47d648b85edb14a18d4645861fb2f08a5b52a33b (diff)
downloadspace-simulator-6d02f0a7558b27596450f9ec72d4905f8362fc25.tar.gz
space-simulator-6d02f0a7558b27596450f9ec72d4905f8362fc25.tar.bz2
space-simulator-6d02f0a7558b27596450f9ec72d4905f8362fc25.zip
add Vertex struct
-rw-r--r--src/graphics/Vertex.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/graphics/Vertex.hpp b/src/graphics/Vertex.hpp
new file mode 100644
index 0000000..98158fa
--- /dev/null
+++ b/src/graphics/Vertex.hpp
@@ -0,0 +1,11 @@
+#ifndef ENGINE_VERTEX_H
+#define ENGINE_VERTEX_H
+
+#include <glm/glm.hpp>
+
+typedef struct {
+ glm::vec3 pos_coords;
+ glm::vec2 tex_coords;
+} Vertex;
+
+#endif /* ENGINE_VERTEX_H */