/// <summary>
 ///   Wraps the raycast call in one spot.
 /// </summary>
 /// <param name="origin"></param>
 /// <param name="direction"></param>
 /// <param name="distance"></param>
 /// <param name="result"></param>
 /// <returns>bool, true if a surface was hit</returns>
 private static bool DefaultRaycast(Vector3 origin, Vector3 direction, float distance, LayerMask surface, out RaycastResultHelper result)
 {
     return(RaycastHelper.First(origin, direction, distance, surface, out result));
 }