Function mat2_to_mat4

Source
pub fn mat2_to_mat4<T>(
    m: &Matrix<T, Const<2>, Const<2>, ArrayStorage<T, 2, 2>>,
) -> Matrix<T, Const<4>, Const<4>, ArrayStorage<T, 4, 4>>
where T: Number,
Expand description

Converts a 2x2 matrix to a 4x4 matrix.