wip extract to files

This commit is contained in:
2025-09-13 14:30:23 +02:00
parent 2fa6c42799
commit 530d868364
11 changed files with 187 additions and 143 deletions
+6 -1
View File
@@ -1,5 +1,8 @@
#include "types.h"
#ifndef CONSTANTS_H
#define CONSTANTS_H
static const char *vertex_shader_text =
"#version 330\n"
"uniform mat4 mvp;\n"
@@ -13,4 +16,6 @@ static const char *vertex_shader_text =
static const Vertex vertices[6] = {{{0.0f, 0.0f}}, {{0.0f, 1.0f}},
{{1.0f, 1.0f}}, {{0.0f, 0.0f}},
{{1.0f, 1.0f}}, {{1.0f, 0.0f}}};
{{1.0f, 1.0f}}, {{1.0f, 0.0f}}};
#endif