init(x:y:z:w:)
Creates a quaternion structure with the specified values.
Declaration
init(x: Double, y: Double, z: Double, w: Double)Parameters
- x:
The value for the x-axis.
- y:
The value for the y-axis.
- z:
The value for the z-axis.
- w:
The value for the w-axis.