feat: add assignment 3 files

This commit is contained in:
2025-10-13 17:51:00 +02:00
parent 22c46053c0
commit db6e548476
6 changed files with 7194 additions and 1 deletions

9
data/shaders/vertex.glsl Normal file
View File

@@ -0,0 +1,9 @@
uniform mat4 mvp;
attribute vec3 vpos;
attribute vec3 vcolor;
varying vec3 fcolor;
void main() {
gl_Position = mvp * vec4(vpos, 1);
fcolor = vcolor;
}