0.9.9 API documenation
Functions
GLM_GTX_matrix_query

Query to evaluate matrix properties. More...

Functions

template<length_t C, length_t R, typename T , qualifier P, template< length_t, length_t, typename, qualifier > class matType>
GLM_FUNC_DECL bool isIdentity (matType< C, R, T, P > const &m, T const &epsilon)
 Return whether a matrix is an identity matrix. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool isNormalized (mat< 2, 2, T, P > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool isNormalized (mat< 3, 3, T, P > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool isNormalized (mat< 4, 4, T, P > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool isNull (mat< 2, 2, T, P > const &m, T const &epsilon)
 Return whether a matrix a null matrix. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool isNull (mat< 3, 3, T, P > const &m, T const &epsilon)
 Return whether a matrix a null matrix. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool isNull (mat< 4, 4, T, P > const &m, T const &epsilon)
 Return whether a matrix is a null matrix. More...
 
template<length_t C, length_t R, typename T , qualifier P, template< length_t, length_t, typename, qualifier > class matType>
GLM_FUNC_DECL bool isOrthogonal (matType< C, R, T, P > const &m, T const &epsilon)
 Return whether a matrix is an orthonormalized matrix. More...
 

Detailed Description

Query to evaluate matrix properties.

<glm/gtx/matrix_query.hpp> need to be included to use these functionalities.

Function Documentation

GLM_FUNC_DECL bool glm::isIdentity ( matType< C, R, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix is an identity matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isNormalized ( mat< 2, 2, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix is a normalized matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isNormalized ( mat< 3, 3, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix is a normalized matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isNormalized ( mat< 4, 4, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix is a normalized matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isNull ( mat< 2, 2, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix a null matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isNull ( mat< 3, 3, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix a null matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isNull ( mat< 4, 4, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix is a null matrix.

From GLM_GTX_matrix_query extension.

GLM_FUNC_DECL bool glm::isOrthogonal ( matType< C, R, T, P > const &  m,
T const &  epsilon 
)

Return whether a matrix is an orthonormalized matrix.

From GLM_GTX_matrix_query extension.