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