public static IEnumerator <V> Cos <V, T1, T2>(this Source.SourceDimension <V> self, T1 radius, T2 freq, float fps = 0f) { var res = default(IEnumerator <V>); Syntax.Resolve <V>( () => res = Source.Cos(Syntax.AsEnumerator <float, T1>(radius), Syntax.AsEnumerator <float, T2>(freq), fps) as IEnumerator <V>, () => res = Source.Cos(Syntax.AsEnumerator <Vector2, T1>(radius), Syntax.AsEnumerator <float, T2>(freq), fps) as IEnumerator <V>, () => res = Source.Cos(Syntax.AsEnumerator <Vector3, T1>(radius), Syntax.AsEnumerator <float, T2>(freq), fps) as IEnumerator <V>, () => res = Source.Cos(Syntax.AsEnumerator <Vector4, T1>(radius), Syntax.AsEnumerator <float, T2>(freq), fps) as IEnumerator <V> ); return(res); }
public static IEnumerator <Vector4> Cos(IEnumerator <Vector4> radius, IEnumerator <float> freq, float fps) { return(Move(Source.Cos(radius, freq, fps))); }