// vs.vert
// (c) LLib Source Code Trust. All rights reserved.
//

#version 120

// Uniforms
uniform mat4 m4fMVP;

// Attributes
attribute vec2 v2fPosition;
attribute vec2 v2fTexCoordIn;

// Outputs to fragment shader
varying vec2 v2fTexCoord;

void main()
{
   // Apply input MVP matrix to the vertex position
   gl_Position = m4fMVP * vec4(v2fPosition, 0.0, 1.0);

   // Pass through the texture coordinates
   v2fTexCoord = v2fTexCoordIn;
}
