Functions

GLM_GTX_matrix_query: Query matrix properties

GTX Extensions (Experimental)

Query to evaluate matrix properties. More...

Functions

template<typename genType >
bool isIdentity (genType const &m, typename genType::value_type const &epsilon=std::numeric_limits< typename genType::value_type >::epsilon())
template<typename T >
bool isNormalized (detail::tmat2x2< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())
template<typename T >
bool isNormalized (detail::tmat4x4< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())
template<typename T >
bool isNormalized (detail::tmat3x3< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())
template<typename T >
bool isNull (detail::tmat2x2< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())
template<typename T >
bool isNull (detail::tmat3x3< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())
template<typename T >
bool isNull (detail::tmat4x4< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())
template<typename genType >
bool isOrthogonal (genType const &m, typename genType::value_type const &epsilon=std::numeric_limits< typename genType::value_type >::epsilon())

Detailed Description

Query to evaluate matrix properties.

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


Function Documentation

bool glm::isIdentity ( genType const &  m,
typename genType::value_type const &  epsilon = std::numeric_limits< typename genType::value_type >::epsilon() 
)

Return if a matrix an identity matrix.

From GLM_GTX_matrix_query extension.

bool glm::isNormalized ( detail::tmat2x2< T > const &  m,
T const &  epsilon = std::numeric_limits< T >::epsilon() 
)

Return if a matrix a normalized matrix.

From GLM_GTX_matrix_query extension.

bool glm::isNormalized ( detail::tmat4x4< T > const &  m,
T const &  epsilon = std::numeric_limits< T >::epsilon() 
)

Return if a matrix a normalized matrix.

From GLM_GTX_matrix_query extension.

bool glm::isNormalized ( detail::tmat3x3< T > const &  m,
T const &  epsilon = std::numeric_limits< T >::epsilon() 
)

Return if a matrix a normalized matrix.

From GLM_GTX_matrix_query extension.

bool glm::isNull ( detail::tmat2x2< T > const &  m,
T const &  epsilon = std::numeric_limits< T >::epsilon() 
)

Return if a matrix a null matrix.

From GLM_GTX_matrix_query extension.

bool glm::isNull ( detail::tmat3x3< T > const &  m,
T const &  epsilon = std::numeric_limits< T >::epsilon() 
)

Return if a matrix a null matrix.

From GLM_GTX_matrix_query extension.

bool glm::isNull ( detail::tmat4x4< T > const &  m,
T const &  epsilon = std::numeric_limits< T >::epsilon() 
)

Return if a matrix a null matrix.

From GLM_GTX_matrix_query extension.

bool glm::isOrthogonal ( genType const &  m,
typename genType::value_type const &  epsilon = std::numeric_limits< typename genType::value_type >::epsilon() 
)

Return if a matrix an orthonormalized matrix.

From GLM_GTX_matrix_query extension.