Skip to main content

auto_smooth_polyline

Function auto_smooth_polyline 

Source
pub fn auto_smooth_polyline(
    pts: &[Vec2],
    tension: f32,
    samples: usize,
) -> Vec<Vec2>
Expand description

Auto-smooth polyline with Catmull-Rom to Bezier conversion