first commit

This commit is contained in:
LunarAkai 2025-07-26 22:36:11 +02:00
commit 3a92f526a0
11 changed files with 2222 additions and 0 deletions

3
playground/src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello World");
}

View file

@ -0,0 +1,8 @@
#version 140
in vec3 vertex_color;
out vec4 color;
void main() {
color = vec4(vertex_color, 1.0);
}

View file

@ -0,0 +1,12 @@
#version 140
in vec2 position;
in vec3 color;
out vec3 vertex_color;
uniform mat4 matrix;
void main() {
vertex_color = color;
gl_Position = matrix * vec4(position, 0.0, 1.0);
}