aboutsummaryrefslogtreecommitdiff
path: root/hello.vert
diff options
context:
space:
mode:
Diffstat (limited to 'hello.vert')
-rw-r--r--hello.vert7
1 files changed, 7 insertions, 0 deletions
diff --git a/hello.vert b/hello.vert
index e69de29..4af0bdf 100644
--- a/hello.vert
+++ b/hello.vert
@@ -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);
+}
+