Пример #1
0
        /** creates an action with a Cardinal Spline array of points and tension */
        public static CCCatmullRomBy create(float dt, CCPointArray points)
        {
            CCCatmullRomBy by = new CCCatmullRomBy();

            by.initWithDuration(dt, points);
            return(by);
        }
Пример #2
0
 /** creates an action with a Cardinal Spline array of points and tension */
 public static CCCatmullRomBy create(float dt, CCPointArray points)
 {
     CCCatmullRomBy by = new CCCatmullRomBy();
     by.initWithDuration(dt, points);
     return (by);
 }