Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
15 lines
191 B
GLSL
15 lines
191 B
GLSL
|
|
uniform mat4 ModelViewProjectionMatrix;
|
|
|
|
#ifdef UV_POS
|
|
in vec2 u;
|
|
# define pos u
|
|
#else
|
|
in vec2 pos;
|
|
#endif
|
|
|
|
void main()
|
|
{
|
|
gl_Position = ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0);
|
|
}
|