Bearing

public enum Bearing

Types of turns to take

  • A left turn, greater then or equal to 45 degrees

    Declaration

    Swift

    case left
  • A left turn that is less then 45 degrees

    Declaration

    Swift

    case slightLeft
  • No turn (less then 18 degrees)

    Declaration

    Swift

    case straight
  • A right turn that is less then 45 degrees

    Declaration

    Swift

    case slightRight
  • A right turn that is greater then 45 degrees

    Declaration

    Swift

    case right