calculate the inverse of a matrix
mat4 inverse(mat4 m)
m
: Specifies the matrix of which to take the inverse.inverse
returns the inverse of the matrix m
. The values in the returned matrix are undefined if m
is singular or poorly-conditioned (nearly singular).