Пример #1
0
        void CatmullRom()
        {
            var splinePoints = new List <CCPoint> ();

            splinePoints.Add(new CCPoint(0, 0));
            splinePoints.Add(new CCPoint(80, 90));
            splinePoints.Add(new CCPoint(100, 0));
            splinePoints.Add(new CCPoint(0, 130));

            drawNode.DrawCatmullRom(
                points: splinePoints,
                segments: 64,
                color: CCColor4B.Green);
        }