blob: db3d6128a3db6bea9766fb73ae5547a8a784a745 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#version 330 core
layout (location = 0) in vec3 pos;
layout (location = 1) in vec3 color;
out vec3 in_frag_color;
uniform mat4 transform;
void main()
{
gl_Position = transform * vec4(pos, 1.0);
in_frag_color = color;
}
|