ceres-solver-v1 / colmap /src /ui /shaders /lines.v.glsl
camenduru's picture
ceres-solver and colmap
7b7496d
#version 150
uniform mat4 u_pmv_matrix;
in vec3 a_pos;
in vec4 a_color;
out vec4 v_pos;
out vec4 v_color;
void main(void) {
v_pos = u_pmv_matrix * vec4(a_pos, 1);
v_color = a_color;
}