blob: 220041de5c3caf11e797d4c64511cd2e8cfa4494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec3 aColor;
uniform mat4 trans;
out vec3 vertexColor;
void main()
{
gl_Position = trans * vec4(aPos, 1.0f);
vertexColor = aColor;
}
|