blob: 1002fd4be3c00b66d710dc78ee8e2afa92a65c5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#version 460 core
flat in ivec3 pos[];
flat in mat2 rot[];
flat in float tpos[];
layout(lines) in;
layout(triangle_strip, max_vertices = 10) out;
include(`networkCommon.glsl')
void
main()
{
doSeg(segDist(pos[0], pos[1]), pos[0], pos[1], tpos[0], tpos[1], rot[0], rot[1]);
}
|