summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/networkCurve.vs
blob: f51bb87fae45ddf67a6a2f3d5703ccb7bee511d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#version 330 core

layout(location = 0) in ivec3 v_apos;
layout(location = 1) in ivec3 v_bpos;
layout(location = 2) in ivec3 v_centre;
layout(location = 3) in float v_reps;
layout(location = 4) in float v_aangle;
layout(location = 5) in float v_bangle;
layout(location = 6) in float v_radius;

flat out ivec3 apos;
flat out ivec3 bpos;
flat out ivec3 cpos;
flat out float reps;
flat out float aangle;
flat out float bangle;
flat out float radius;

void
main()
{
	apos = v_apos;
	bpos = v_bpos;
	cpos = v_centre;
	reps = v_reps;
	aangle = v_aangle;
	bangle = v_bangle;
	radius = v_radius;
}