CSharp examples for System:Math Easing Function
Ease Back in.
using System;/*from ww w . j a v a 2 s . c o m*/ public class Main{ /// <summary> /// Back in. /// </summary> /// <param name="t">Time elapsed.</param> /// <returns>Eased timescale.</returns> public static float BackIn(float t) { return (float)(t * t * (2.70158 * t - 1.70158)); } }