Skip to main content

moved

Function moved 

Source
pub fn moved(points: &[[f32; 2]], i: usize, to: [f32; 2]) -> [f32; 2]
Expand description

Point i moved to to, kept inside 0..1 and between its neighbours’ inputs.