From 5c46e0f0a924989201c6784b0f956bc442f14a7e Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 09:17:35 -0600 Subject: -removed glm library, its in the debian repos -made opengl and sdl folders in includes, moved various *hpps to them --- inc/opengl/shaders/theshader.vert | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 inc/opengl/shaders/theshader.vert (limited to 'inc/opengl/shaders/theshader.vert') diff --git a/inc/opengl/shaders/theshader.vert b/inc/opengl/shaders/theshader.vert new file mode 100644 index 0000000..b7cfe3b --- /dev/null +++ b/inc/opengl/shaders/theshader.vert @@ -0,0 +1,15 @@ +#version 320 es +in highp vec2 pos; +in highp vec3 color; +in highp float sides; +uniform mat4 MVP; + +out highp vec3 fColor; +out highp float vSides; + +void main() +{ + gl_Position = MVP * vec4(pos, 0.0, 1.0); + fColor = color; + vSides = sides; +} -- cgit v1.2.3