pub fn auto_smooth_polyline( pts: &[Vec2], tension: f32, samples: usize, ) -> Vec<Vec2>
Auto-smooth polyline with Catmull-Rom to Bezier conversion