matrix_from_diagonal(_:)
Returns a new matrix with the specified vector on the main diagonal.
Declaration
func matrix_from_diagonal(_ d: SIMD2<Float>) -> simd_float2x2Returns a new matrix with the specified vector on the main diagonal.
func matrix_from_diagonal(_ d: SIMD2<Float>) -> simd_float2x2