blob: 11c54cfa85c992665cb2747c5272c4c3afe1c513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef MGL_FONT_GLYPH_H
#define MGL_FONT_GLYPH_H
#include "../system/vec.h"
typedef struct {
mgl_vec2i position;
mgl_vec2i size;
mgl_vec2i texture_position; /* In pixel space */
mgl_vec2i texture_size; /* In pixel space */
float advance;
} mgl_font_glyph;
#endif /* MGL_FONT_GLYPH_H */
|