Converts given 4x4 matrix to a 3x3 normal matrix, i.e. the transposed inverse of its upper-left 3x3 region. If out is null a new result matrix will be created. Returns undefined if matrix inversion failed.
Converts given 4x4 matrix to a 4x4 matrix normal matrix, i.e. the transposed inverse. Writes results to m if out is null. Returns undefined if matrix inversion failed.
Converts given 4x4 matrix to a 3x3 normal matrix, i.e. the transposed inverse of its upper-left 3x3 region. If
out
is null a new result matrix will be created. Returnsundefined
if matrix inversion failed.