summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/networkStraight.gs
blob: 51df5fb9525527cc12ce59eddb8327a0cdbb4ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#version 330 core

flat in ivec3 apos[];
flat in ivec3 bpos[];
flat in mat2 rot[];
flat in float reps[];
flat in float dist[];

layout(points) in;
layout(triangle_strip, max_vertices = 10) out;
include(`networkCommon.glsl')

void
main()
{
	doSeg(dist[0], apos[0], bpos[0], 0.f, reps[0], rot[0], rot[0]);
}