Fixed ???
Some files have been renamed
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
typedef struct D_Glyph D_Glyph;
|
||||
struct D_Glyph {
|
||||
F32 advance;
|
||||
|
||||
V2f offset;
|
||||
V2f dim;
|
||||
|
||||
R2f box;
|
||||
};
|
||||
|
||||
@@ -14,13 +17,13 @@ typedef struct D_Font D_Font;
|
||||
struct D_Font {
|
||||
D_Font *next;
|
||||
|
||||
F32 px;
|
||||
U32 id;
|
||||
|
||||
F32 line_advance;
|
||||
F32 ascent;
|
||||
F32 descent;
|
||||
|
||||
F32 *kerning;
|
||||
F32 *kerning; // @incomplete: we don't load this
|
||||
D_Glyph *glyphs;
|
||||
|
||||
Vk_Image image;
|
||||
@@ -108,6 +111,8 @@ enum D_RectFlags {
|
||||
D_RECT_IGNORE_ASPECT = (1 << 0), // by default only width is used as a "dimension"
|
||||
D_RECT_PER_VERTEX_COLOUR = (1 << 1), // split colours per vertex
|
||||
D_RECT_UV_ASPECT = (1 << 2), // get the aspect from the uv rect rather than the full image
|
||||
D_RECT_FLIP_X = (1 << 3),
|
||||
D_RECT_FLIP_Y = (1 << 4)
|
||||
};
|
||||
|
||||
typedef struct D_RectOpts D_RectOpts;
|
||||
|
||||
Reference in New Issue
Block a user