Skip to main content

compose_morph_weights

Function compose_morph_weights 

Source
pub fn compose_morph_weights(base: &[f32], clip: &[f32], out: &mut Vec<f32>)
Expand description

Write base + clip into out (cleared first), clamped to [0, 1] per target. The longer input sets the length; the shorter one reads as zero past its end.