wip extract to files
This commit is contained in:
+6
-1
@@ -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
|
||||
Reference in New Issue
Block a user