Function interpolate_cubic_spline

  • Cubic spline interpolation

    Parameters

    • points: Vector2[]

      array of points to interpolate

    • n: number = 10

      number of points to interpolate between each pair of points (default 10)

    Returns Vector2[]

    array of interpolated points