|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< Kakshya::LineVertex > MayaFlux::Kinesis::polyline_colored | ( | std::span< const glm::vec2 > | pts, |
| std::span< const glm::vec3 > | colors, | ||
| float | thickness = 1.F |
||
| ) |
Polyline with per-vertex colors as a LINE_LIST.
pts and colors must have equal length. Each line segment blends from the color at its start vertex to the color at its end vertex.
| pts | Ordered path vertices in NDC. |
| colors | Per-vertex colors. Must match pts in size. |
| thickness | Line thickness applied uniformly. |
Definition at line 303 of file Geometry2D.cpp.