diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-07 20:52:09 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-07 20:52:09 +0200 |
commit | 715bbaf459b88575e11d90ec16bad3841bafd259 (patch) | |
tree | a253d4c40237c7f3c5decff833cf85ea0eafbe42 /engine/vertex.glsl | |
parent | 146635292369cc8a9660139d97cd9662025bd591 (diff) |
feat(engine): add ability to render triangles
Diffstat (limited to 'engine/vertex.glsl')
-rw-r--r-- | engine/vertex.glsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/vertex.glsl b/engine/vertex.glsl new file mode 100644 index 0000000..c74ea10 --- /dev/null +++ b/engine/vertex.glsl @@ -0,0 +1,7 @@ +#version 330 core +layout (location = 0) in vec3 aPos; + +void main() +{ + gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0); +} |