2023-10-11 20:25:22 +00:00
|
|
|
#version 330 core
|
|
|
|
layout (location = 0) in vec3 pos;
|
2023-10-12 17:43:06 +00:00
|
|
|
layout (location = 1) in vec3 col;
|
|
|
|
|
|
|
|
out vec3 color;
|
2023-10-11 20:25:22 +00:00
|
|
|
|
|
|
|
void main() {
|
|
|
|
gl_Position = vec4(pos.x, pos.y, pos.z, 1.0f);
|
2023-10-12 17:43:06 +00:00
|
|
|
color = col;
|
2023-10-11 20:25:22 +00:00
|
|
|
}
|