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