public static float easeInOut(float t) { if (t <= 0.5f) { return(Quintic.easeIn(t * 2) / 2); } else { return((Quintic.easeOut((t - 0.5f) * 2.0f) / 2) + 0.5f); } }
public static float easeInOut(float t) { if (t <= 0.5f) { return(Quintic.easeIn(t * 2) / 2); } else { return((Quintic.easeOut((t - 0.5f) * 2.0f) / 2) + 0.5f); } }