Template Function TRAP::Math::Inverse(const Mat<4, 4, T>&)#

Function Documentation#

template<typename T>
constexpr Mat<4, 4, T> TRAP::Math::Inverse(const Mat<4, 4, T> &m)#

Calculate the inverse of a matrix.

Parameters:

m – Specifies the matrix of which to take the inverse.

Returns:

Inverse of a squared matrix.