point_to_dot_quad

Function point_to_dot_quad 

Source
pub fn point_to_dot_quad(
    x: f64,
    y: f64,
    color: [f32; 4],
    radius_clip: f32,
) -> [CustomWaveVertex; 6]
Expand description

Expand one MD2 per-point output (x, y, r, g, b, a) into a small screen-space quad (two triangles, six vertices). Used by the dots pipeline. radius_clip is the half-side in clip space — pick 2.0 / height for a single-pixel-equivalent dot at default sizing.