public static IEnumerable <Vector2Int32> FillCurveClosed(IList <Vector2Int32> points, float tension) { var curve = Spline.DrawCurveClosed(points, tension).ToList(); return(FillPolygon(curve)); }
public static IEnumerable <Vector2Int32> FillBeziers(IList <Vector2Int32> points) { var polypoints = Spline.DrawBeziers(points).ToList(); return(FillPolygon(polypoints)); }