#ifndef SPECTRE_GRAPHICS_FONT_GLYPH_H #define SPECTRE_GRAPHICS_FONT_GLYPH_H #include #include namespace sp { struct Glyph { vec2b size; // Width, Height of bounding box. vec2b offset; // Offset from cursor where the box begins. unsigned char advance; vec2u texture_origin; const Texture* texture; // Texture atlas. }; } // namespace sp #endif // SPECTRE_GRAPHICS_FONT_GLYPH_H