0.9.9 API documenation
Functions
GLM_GTC_matrix_inverse

Functions

template<typename genType >
GLM_FUNC_DECL genType affineInverse (genType const &m)
 
template<typename genType >
GLM_FUNC_DECL genType inverseTranspose (genType const &m)
 

Detailed Description

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.

Defines additional matrix inverting functions.

Function Documentation

◆ affineInverse()

GLM_FUNC_DECL 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-qualifier floating point value is highly innacurate.
See also
GLM_GTC_matrix_inverse

◆ inverseTranspose()

GLM_FUNC_DECL genType 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-qualifier floating point value is highly innacurate.
See also
GLM_GTC_matrix_inverse