2018-05-20 12:06:24 +00:00
|
|
|
#version 150
|
|
|
|
|
|
|
|
in vec2 positionAttribute;
|
|
|
|
|
|
|
|
uniform mat4 modelViewProjectionMatrix;
|
|
|
|
|
2014-05-15 13:29:23 +00:00
|
|
|
void main()
|
|
|
|
{
|
|
|
|
// Transform the vertex position
|
2018-05-20 12:06:24 +00:00
|
|
|
gl_Position = modelViewProjectionMatrix * vec4(positionAttribute, 0.0, 1.0);
|
2014-05-15 13:29:23 +00:00
|
|
|
}
|