result = new BoundingSphere( Vector3.Lerp(box.Minimum, box.Maximum, 0.5f),
/// <summary> /// Lerps a float /// </summary> /// <param name="value"></param> /// <param name="objective"></param> /// <param name="speed">Between 0 and 1</param> public static void Lerp(this ref float value, float objective, float speed) => value = Mathf.Lerp(value, objective, speed);