square board and properly fit inside window

This commit is contained in:
2023-09-04 01:57:39 +03:00
parent 2023497beb
commit 4d03b0d3ee
7 changed files with 49 additions and 11 deletions
+1
View File
@@ -7,3 +7,4 @@ typedef struct Shader {
void read_shader_file(const char *path, char **buf);
Shader create_shader(const char *vertex_path, const char *fragment_path);
void use_shader(Shader shader);
void set_mat4(Shader shader, const char *name, float *mat);