Function mat4_to_mat2

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

Converts a 4x4 matrix to a 2x2 matrix.