mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
9 lines
134 B
GLSL
9 lines
134 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec3 aPos;
|
|
|
|
uniform mat4 model;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = model * vec4(aPos, 1.0);
|
|
} |