#version 330

layout (location = 0) in vec3 iPosition;

uniform mat4 uWVP;

out vec3 vsTextureCoord;

void main()
{
    vec4 wvpPosition = uWVP * vec4(iPosition, 1.0);
    gl_Position = wvpPosition.xyww;
    vsTextureCoord   = iPosition;
}
