add test cube
This commit is contained in:
parent
5ba261c72c
commit
3b44c516ac
14 changed files with 164 additions and 23 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue