diff options
Diffstat (limited to 'gfx/gl/shaders/networkStraight.gs')
-rw-r--r-- | gfx/gl/shaders/networkStraight.gs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gfx/gl/shaders/networkStraight.gs b/gfx/gl/shaders/networkStraight.gs new file mode 100644 index 0000000..51df5fb --- /dev/null +++ b/gfx/gl/shaders/networkStraight.gs @@ -0,0 +1,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]); +} |