Function vecmath::mat4_inv [] [src]

pub fn mat4_inv<T>(mat: Matrix4<T>) -> Matrix4<T> where T: Copy + One + Add<T, Output=T> + Mul<T, Output=T> + Sub<T, Output=T> + Div<T, Output=T>

Computes the inverse of a 4x4 matrix.