CSharp examples for System:Math Easing Function
Ease Back out.
using System;/*from w w w. ja va 2 s . co m*/ public class Main{ /// <summary> /// Back out. /// </summary> /// <param name="t">Time elapsed.</param> /// <returns>Eased timescale.</returns> public static float BackOut(float t) { return (float)(1 - (--t) * (t) * (-2.70158 * t - 1.70158)); } }