init(arrayLiteral:)
Creates a vector from the specified elements.
Declaration
init(arrayLiteral scalars: Self.Scalar...)Parameters
- scalars:
The elements to use in the vector.
scalarsmust have the same number of elements as the vector type.
Creates a vector from the specified elements.
init(arrayLiteral scalars: Self.Scalar...)The elements to use in the vector. scalars must have the same number of elements as the vector type.