Structures

The following structures are available globally.

ExpressibleByArrayLiteral

  • No overview available.

    See more

    Declaration

    Swift

    public struct CGVector4
    extension CGVector4: ExpressibleByArrayLiteral
    extension CGVector4: Interpolatable
    extension CGVector4: Equatable
  • This whole file exists basically because SIMD doesn’t support CGFloat and without this file, you’d be doing things like transform.position.x = Double(value) :( So everything here just bridges CGFloats to Doubles and uses their simd equivalents. Technically CGFloat can be Float or Double (32bit or 64bit) but everything is 64bit nowadays so, if it’s really necessary it can be added later.

    See more

    Declaration

    Swift

    public struct CGVector3
    extension CGVector3: ExpressibleByArrayLiteral
    extension CGVector3: Interpolatable
    extension CGVector3: Equatable
  • No overview available.

    See more

    Declaration

    Swift

    public struct CGQuaternion
    extension CGQuaternion: Interpolatable
    extension CGQuaternion: Equatable