Skip to main content

invert4_columns

Function invert4_columns 

Source
pub fn invert4_columns(m: &[f64; 16]) -> Option<[f64; 16]>
Expand description

Inverse of a column-major 4×4 matrix (index = col*4 + row layout). Returns None if singular. Used to invert the view-projection for the host overlays’ screen→world path.