Function kira::interpolate_frame

source ยท
pub fn interpolate_frame(
    previous: Frame,
    current: Frame,
    next_1: Frame,
    next_2: Frame,
    fraction: f32
) -> Frame
Expand description

Given a previous frame, a current frame, the two next frames, and a position x from 0.0 to 1.0 between the current frame and next frame, get an approximated frame.