pub fn interpolate_curve_thinned( points: &[Vec3], degree: usize, maximum_points: usize, ) -> Result<NurbsCurve, String>