3#include <vulkan/vulkan_core.h>
Represents a connected group of lines
Definition: host_structures.h:30
std::vector< Vertex > vertices
The vertices that make up this Polyline
Definition: host_structures.h:35
Represents one point of a line
Definition: host_structures.h:8
glm::vec3 position
The position of the point
Definition: host_structures.h:13
float data
The data (velocity/radius/vorticity) of this point
Definition: host_structures.h:18
float curvature
The curvature of this point (angle between adjacent lines) The value is mapped in between 0 and 1 by ...
Definition: host_structures.h:24
This structure holds information about when a polyline starts and how long it is inside a sorted Vert...
Definition: host_structures.h:44
uint32_t numberOfPrimitives
The number of vertices that belong to this polyline
Definition: host_structures.h:52
uint32_t firstIndex
The index of the first vertex inside the buffer array
Definition: host_structures.h:48