From 715bbaf459b88575e11d90ec16bad3841bafd259 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 7 Oct 2023 20:52:09 +0200 Subject: feat(engine): add ability to render triangles --- engine/vertex.glsl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 engine/vertex.glsl (limited to 'engine/vertex.glsl') 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); +} -- cgit v1.2.3-18-g5258