SpaghettiVis
Implementation of 2009 Everts et al. Depth-Dependent Halos: Illustrative Rendering of Dense Line Data
linevertex.h
1 #pragma once
2 
3 #include <glm/glm.hpp>
4 
7 struct LineVertex
8 {
9  glm::vec3 pos;
10  glm::vec3 directionToNext;
11  glm::vec2 uv;
12 };
glm::vec2 uv
vertex uv for drawing line as triangle strips (u along line direction, v perpendicular to direction) ...
Definition: linevertex.h:11
glm::vec3 directionToNext
direction to next vertex in line
Definition: linevertex.h:10
The LineVertex struct. Each line vertex has 8 floats: 3 pos, 3 direction to next, 2 uv for triangle s...
Definition: linevertex.h:7
glm::vec3 pos
vertex position
Definition: linevertex.h:9