Angle

public struct Angle
extension Angle: Encodable
extension Angle: ExpressibleByFloatLiteral
extension Angle: ExpressibleByIntegerLiteral

Angle wrapped to be between -180 and +180 degrees.

  • Undocumented

    Declaration

    Swift

    public init(_ degrees: Double)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public init(floatLiteral double: Double)
  • Declaration

    Swift

    public init(integerLiteral integer: Int)