|
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
|
Per-vertex data for the ribbon triangle strip. More...
#include <trail_renderer.h>
Data Fields | |
| float | position [3] |
| float | u |
| float | color [3] |
| float | v |
Per-vertex data for the ribbon triangle strip.
32 bytes per vertex, cache-line friendly.
| float TrailVertex::color[3] |
HDR emissive color (pre-multiplied).
| float TrailVertex::position[3] |
World position.
| float TrailVertex::u |
Along trail: 0=head, 1=tail.
| float TrailVertex::v |
Across ribbon: 0=left edge, 1=right edge.