diff options
Diffstat (limited to 'include/mgl/graphics/vertex.h')
-rw-r--r-- | include/mgl/graphics/vertex.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mgl/graphics/vertex.h b/include/mgl/graphics/vertex.h index 69400b4..e4fef34 100644 --- a/include/mgl/graphics/vertex.h +++ b/include/mgl/graphics/vertex.h @@ -1,8 +1,12 @@ #ifndef MGL_VERTEX_H #define MGL_VERTEX_H +#include "primitive_type.h" #include "color.h" #include "../system/vec.h" +#include <stddef.h> + +typedef struct mgl_context mgl_context; typedef struct { mgl_vec2f position; @@ -10,4 +14,6 @@ typedef struct { mgl_color color; } mgl_vertex; +void mgl_vertices_draw(mgl_context *context, const mgl_vertex *vertices, size_t vertex_count, mgl_primitive_type primitive_type); + #endif /* MGL_VERTEX_H */ |