1.0.0 API documentation
Loading...
Searching...
No Matches
Functions
Matrix functions

Provides GLSL matrix functions. More...

Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse (mat< C, R, T, Q > const &m)
 Return the inverse of a squared matrix.
 

Detailed Description

Provides GLSL matrix functions.

Include <glm/matrix.hpp> to use these core features.

Function Documentation

◆ inverse()

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse ( mat< C, R, T, Q > const &  m)

Return the inverse of a squared matrix.

Template Parameters
CInteger between 1 and 4 included that qualify the number a column
RInteger between 1 and 4 included that qualify the number a row
TFloating-point scalar types
QValue from qualifier enum
See also
GLSL inverse man page
GLSL 4.20.8 specification, section 8.6 Matrix Functions