[][src]Function minterpolate::get_input_index

pub fn get_input_index(input: f32, inputs: &[f32]) -> Option<usize>

Calculate the keyframe index in the input collection

Parameters

Returns

The index into the inputs, corresponding to the given input.