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