add test cube

This commit is contained in:
Lauchmelder 2022-10-18 16:57:14 +02:00
parent 5ba261c72c
commit 3b44c516ac
14 changed files with 164 additions and 23 deletions

View file

@ -1,9 +1,12 @@
#ifndef SHADER_H
#define SHADER_H
#include <cglm/mat4.h>
int create_shader(const char* vertex_shader_code, const char* fragment_shader_code);
void destroy_shader(int shader);
void bind_shader(int shader);
void set_uniform_mat4(int shader, const char* name, mat4 mat);
#endif // SHADER_H