Example #1
0
        public static IEnumerable <Vector2Int32> FillCurveClosed(IList <Vector2Int32> points, float tension)
        {
            var curve = Spline.DrawCurveClosed(points, tension).ToList();

            return(FillPolygon(curve));
        }
Example #2
0
        public static IEnumerable <Vector2Int32> FillBeziers(IList <Vector2Int32> points)
        {
            var polypoints = Spline.DrawBeziers(points).ToList();

            return(FillPolygon(polypoints));
        }