public static IEnumerable <Vector3> NewCatmullRom(Vector3[] points, int slices, bool loop) { return(XInterpolate.NewCatmullRom <Vector3>(points, new XInterpolate.ToVector3 <Vector3>(XInterpolate.Identity), slices, loop)); }
public static IEnumerable <Vector3> NewCatmullRom(Transform[] nodes, int slices, bool loop) { return(XInterpolate.NewCatmullRom <Transform>(nodes, new XInterpolate.ToVector3 <Transform>(XInterpolate.TransformDotPosition), slices, loop)); }