File: color_triangles.vert

package info (click to toggle)
haskell-glut 2.7.0.16-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,844 kB
  • sloc: haskell: 12,054; ansic: 105; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#version 430 core

layout(location = 0) in vec4 vPosition;
layout(location = 1) in vec4 vColor;
out vec4 color;

void
main()
{
   gl_Position = vPosition;
   color = vColor;
}