CGQuaternion
No overview available.
-
No overview available.
Declaration
Swift
public var axis: CGVector3 { get set }
-
No overview available.
Declaration
Swift
public var angle: CGFloat { get set }
-
Default initializer.
Declaration
Swift
public init(angle: CGFloat, axis: CGVector3)
Parameters
angle
The angle of rotation (specified in radians).
axis
The axis of rotation (this will be normalized automatically)
-
No overview available.
Declaration
Swift
public init(_ quaternion: simd_quatd)
-
Declaration
Swift
public func lerp(to: CGQuaternion, fraction: CGFloat) -> CGQuaternion
-
Declaration
Swift
public static func == (lhs: `Self`, rhs: `Self`) -> Bool