Skip to main content

spline_path

Function spline_path 

Source
pub fn spline_path(path: &[Vec2], samples_per_segment: usize) -> Vec<Vec2>
Expand description

Catmull-Rom spline interpolation for smooth curved paths.