small cleaning

This commit is contained in:
2025-09-12 10:34:32 +02:00
parent f1cd2b293c
commit 1c663b6a7c
3 changed files with 92 additions and 56 deletions
+23
View File
@@ -1,3 +1,6 @@
#include "linmath.h"
#include <glad/gl.h>
#ifndef TYPES_H
#define TYPES_H
@@ -5,6 +8,26 @@ struct Parameters {
// TODO
};
typedef struct Vertex {
vec2 pos;
} Vertex;
typedef struct ShaderProgram {
GLuint program;
GLuint vertex_buffer;
GLuint vertex_shader;
GLuint fragment_shader;
GLuint mvp_location;
GLuint vpos_location;
GLuint itime_location;
GLuint ires_location;
GLuint vertex_array;
} ShaderProgram;
typedef struct Parameters parameters;
#endif