Float

public extension Float

This makes it easier to convert between Degrees and Radians.

  • Declaration

    Swift

    var radians: Float { get }

    Return Value

    a float (in degrees), as Radians

  • Declaration

    Swift

    var degrees: Float { get }

    Return Value

    a float (in Radians), as degrees