public static CurvePoint[] GetCurvePoints(int resolution, Vector3[] controlPoints, bool closeLoop = false) { var curve = new CatmullRom(resolution, controlPoints, closeLoop); return curve.GetCurvePoints(); }
public static CurvePoint[] GetCurvePoints(int resolution, Vector3[] controlPoints, bool closeLoop = false) { var curve = new CatmullRom(resolution, controlPoints, closeLoop); return(curve.GetCurvePoints()); }
public static Vector3[] GetCurvePositions(int resolution, Vector3[] controlPoints, bool closeLoop = false) { var catmullRom = new CatmullRom(resolution, controlPoints, closeLoop); return GetCurvePositions(catmullRom, resolution, controlPoints); }
public static Vector3[] GetCurvePositions(int resolution, Vector3[] controlPoints, bool closeLoop = false) { var catmullRom = new CatmullRom(resolution, controlPoints, closeLoop); return(GetCurvePositions(catmullRom, resolution, controlPoints)); }