- a = { ... } definitions replaced with a { ... }
- GetOverlappedResult replaced with waiting for event in Windows async file loading
- FileHandles and AssetHandles stored in heap for container element adresses consistence
- Shader assets examples
12 lines
183 B
GLSL
12 lines
183 B
GLSL
#version 330
|
|
|
|
vec2 positions[3] = vec2[](
|
|
vec2(-1.0, 1.0),
|
|
vec2(0.0, -1.0),
|
|
vec2(1.0, 1.0)
|
|
);
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
|
|
} |