Skip to main content

mat3_cofactor

Function mat3_cofactor 

Source
pub fn mat3_cofactor(m: &Mat3) -> Mat3
Expand description

Cofactor matrix of a 3×3 matrix.

C[i][j] = (-1)^{i+j} * M_{ij} where M_{ij} is the (i,j) minor.