Skip to main content

interpolate_vertex_linear

Function interpolate_vertex_linear 

Source
pub fn interpolate_vertex_linear(
    start: &[f32; 8],
    end: &[f32; 8],
    rate: f32,
    out: &mut [f32; 8],
)
Expand description

Batch linear interpolation for Vertex attribute (fixed 8 floats: LT.x, LT.y, RT.x, RT.y, LB.x, LB.y, RB.x, RB.y).