Functions

GLM_GTC_matrix_inverse: Additional matrix inverse function

GTC Extensions (Stable)

Defines additional matrix inverting functions. More...

Functions

template<typename genType >
genType affineInverse (genType const &m)
template<typename genType >
GLM_FUNC_QUALIFIER
genType::value_type 
inverseTranspose (genType const &m)

Detailed Description

Defines additional matrix inverting functions.

<glm/gtc/matrix_inverse.hpp> need to be included to use these functionalities.


Function Documentation

genType glm::affineInverse ( genType const &  m)

Fast matrix inverse for affine matrix.

Parameters:
mInput matrix to invert.
Template Parameters:
genTypeSquared floating-point matrix: half, float or double. Inverse of matrix based of half-precision floating point value is highly innacurate.
See also:
GLM_GTC_matrix_inverse: Additional matrix inverse function
GLM_FUNC_QUALIFIER genType::value_type glm::inverseTranspose ( genType const &  m)

Compute the inverse transpose of a matrix.

Parameters:
mInput matrix to invert transpose.
Template Parameters:
genTypeSquared floating-point matrix: half, float or double. Inverse of matrix based of half-precision floating point value is highly innacurate.
See also:
GLM_GTC_matrix_inverse: Additional matrix inverse function