Structures
The following structures are available globally.
-
No overview available.
See moreDeclaration
Swift
public struct CGVector4extension CGVector4: ExpressibleByArrayLiteralextension CGVector4: Interpolatableextension CGVector4: Equatable -
This whole file exists basically because SIMD doesn’t support CGFloat and without this file, you’d be doing things like
See moretransform.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.Declaration
Swift
public struct CGVector3extension CGVector3: ExpressibleByArrayLiteralextension CGVector3: Interpolatableextension CGVector3: Equatable -
No overview available.
See moreDeclaration
Swift
public struct CGQuaternionextension CGQuaternion: Interpolatableextension CGQuaternion: Equatable
Structures Reference