From 6d02f0a7558b27596450f9ec72d4905f8362fc25 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 29 Mar 2021 17:21:15 +0000 Subject: add Vertex struct --- src/graphics/Vertex.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/graphics/Vertex.hpp 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 + +typedef struct { + glm::vec3 pos_coords; + glm::vec2 tex_coords; +} Vertex; + +#endif /* ENGINE_VERTEX_H */ -- cgit v1.2.3-18-g5258