added help overlay

This commit is contained in:
2023-10-02 23:59:48 +02:00
parent f0ce9a26f3
commit 938d0e67cb
8 changed files with 158 additions and 7 deletions
+1
View File
@@ -20,3 +20,4 @@ void prepare_font(unsigned int *vao, unsigned int *vbo);
Size calculate_text_size(const char *text, float scale);
void draw_number(Shader shader, Cell cell, int row, int column, float scale,unsigned int vao, unsigned int vbo, float* transform);
void draw_text(Shader shader, const char *text, Size text_size, float scale, unsigned int vao, unsigned int vbo, float *transform);
void draw_text_at(Shader shader, const char *text, Vec2 pos, float scale, unsigned int vao, unsigned int vbo, float *projection);