#version 100

struct m3x2
{
    vec3 r0;
    vec3 r1;
};

attribute vec4 position;

vec3 transform3x2(m3x2 t, vec3 v)
{
    return vec3(dot(t.r0, v), dot(t.r1, v), dot(vec3(0.0, 0.0, 1.0), v));
}

void main()
{
    m3x2 param = m3x2(vec3(1.0, 0.0, 0.0), vec3(0.0, -1.0, 0.0));
    vec3 param_1 = position.xyz;
    gl_Position = vec4(transform3x2(param, param_1), position.w);
}

