commit 2da13fe8158ad7dce6632795df417fbc1fbcc69f parent 8ea55694c3b61470068fa2ee20972bac6f4e1134 Author: rexim <reximkut@gmail.com> Date: Mon, 9 Jan 2023 02:35:25 +0700 Reformat free_glyph.h Diffstat:
| M | src/free_glyph.h | | | 20 | ++++++++++---------- |
1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/free_glyph.h b/src/free_glyph.h @@ -18,16 +18,16 @@ // https://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_02 typedef struct { - float ax; // advance.x - float ay; // advance.y - - float bw; // bitmap.width; - float bh; // bitmap.rows; - - float bl; // bitmap_left; - float bt; // bitmap_top; - - float tx; // x offset of glyph in texture coordinates + float ax; // advance.x + float ay; // advance.y + + float bw; // bitmap.width; + float bh; // bitmap.rows; + + float bl; // bitmap_left; + float bt; // bitmap_top; + + float tx; // x offset of glyph in texture coordinates } Glyph_Metric; typedef struct {
