layout (location = 0) in vec3 aPos; out vec3 vertexColor; // to Fragment Shader void main() { gl_Position = vec4(aPos, 1.0);
確定! 回上一頁