/** 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); }
/** creates an action with a Cardinal Spline array of points and tension */ public static CCCatmullRomBy actionWithDuration(float dt, CCPointArray points) { return(CCCatmullRomBy.create(dt, points)); }