Function piston_window::math::invert

source ยท
pub fn invert<T>(mat: [[T; 3]; 2]) -> [[T; 3]; 2]
where T: Copy + One + Add<Output = T> + Mul<Output = T> + Sub<Output = T> + Div<Output = T> + Neg<Output = T>,
Expand description

Computes the inverse of a 2x3 matrix.