Skip to main content

lerp_items

Function lerp_items 

Source
fn lerp_items<I: Interpolatable>(
    current: &Option<I>,
    target: &Option<I>,
    t: f64,
) -> Option<I>
Expand description

Structural lerp over payloads. None must pair with None: a presence mismatch is filled with transparent clones by Alignable first.