init(x:y:z:)
Creates a vector from the specified floating-point values.
Declaration
init<T>(x: T, y: T, z: T) where T : BinaryFloatingPointParameters
- x:
A floating-point value that specifies the x value.
- y:
A floating-point value that specifies the y value.
- z:
A floating-point value that specifies the z value.