Refactor in C++
This commit is contained in:
parent
8c4b7bff18
commit
abdd19f5e5
445 changed files with 68766 additions and 36566 deletions
10
shaders/hex.vert
Normal file
10
shaders/hex.vert
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 330 core
|
||||
layout (location = 0) in vec3 pos;
|
||||
uniform mat4 model;
|
||||
uniform mat4 view;
|
||||
uniform mat4 proj;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = proj * view * model * vec4(pos, 1.0f);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue