mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 12:34:15 +00:00
feat: triangle is perfectly draw
This commit is contained in:
7
res/render/primitives/p_triangle.vert
Normal file
7
res/render/primitives/p_triangle.vert
Normal file
@@ -0,0 +1,7 @@
|
||||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec3 aPos;
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(aPos , 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user