aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics/vertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgl/graphics/vertex.h')
-rw-r--r--include/mgl/graphics/vertex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/mgl/graphics/vertex.h b/include/mgl/graphics/vertex.h
new file mode 100644
index 0000000..b4a5830
--- /dev/null
+++ b/include/mgl/graphics/vertex.h
@@ -0,0 +1,13 @@
+#ifndef MGL_VERTEX_H
+#define MGL_VERTEX_H
+
+#include "color.h"
+#include "../system/vec.h"
+
+typedef struct {
+ mgl_vec2f position;
+ mgl_color color;
+ mgl_vec2f texcoords;
+} mgl_vertex;
+
+#endif /* MGL_VERTEX_H */