pub fn spline_path(path: &[Vec2], samples_per_segment: usize) -> Vec<Vec2>
Catmull-Rom spline interpolation for smooth curved paths.