Skip to main content

interpolate_color_linear

Function interpolate_color_linear 

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

Batch linear interpolation for PartColor attribute (fixed 16 floats: four channels each for LT, RT, LB, RB).