inverse

fun inverse(m: Mat3): Mat3
fun inverse(m: Mat4): Mat4

Returns the inverse of m.

Return

the inverse matrix; undefined if m is singular

Parameters

m

the matrix to invert