GL basics

This commit is contained in:
Ben
2019-01-10 23:02:46 +00:00
parent 26086b56fb
commit 9fd302c683
4 changed files with 129 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
#version 150 core
in vec2 position;
void main() {
gl_position = vec4(position, 0.0, 1.0);
// Equivilent to vec4(position.x, position.y, 0.0, 1.0)
}