public static float Calc(float v) { if (v < 0.5f) { return(0.5f * InBounce.Bounce(v * 2f)); } else { return(0.5f * OutBounce.Bounce(v * 2f - 1f) + 0.5f); } }
public float Function(float v) { if (v < 0.5f) { return(0.5f * InBounce.Bounce(v * 2f)); } else { return(0.5f * OutBounce.Bounce(v * 2f - 1f) + 0.5f); } }