aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics/vertex.h
blob: b4a5830d76931471afbcfac17c377bbc7942b41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 */