39 #ifndef GLM_GTX_matrix_query
40 #define GLM_GTX_matrix_query
44 #include "../gtx/vector_query.hpp"
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_matrix_query extension included")
58 template<
typename T, precision P>
59 bool isNull(detail::tmat2x2<T, P>
const & m, T
const &
epsilon);
63 template<
typename T, precision P>
64 bool isNull(detail::tmat3x3<T, P>
const & m, T
const &
epsilon);
68 template<
typename T, precision P>
69 bool isNull(detail::tmat4x4<T, P>
const & m, T
const &
epsilon);
73 template<
typename T, precision P,
template <
typename, precision>
class matType>
78 template<
typename T, precision P>
83 template<
typename T, precision P>
88 template<
typename T, precision P>
93 template<
typename T, precision P,
template <
typename, precision>
class matType>
99 #include "matrix_query.inl"
101 #endif//GLM_GTX_matrix_query
GLM_FUNC_DECL genType epsilon()
Return the epsilon constant for floating point types.
bool isOrthogonal(matType< T, P > const &m, T const &epsilon)
Return whether a matrix is an orthonormalized matrix.
bool isNormalized(detail::tmat2x2< T, P > const &m, T const &epsilon)
Return whether a matrix is a normalized matrix.
bool isNull(detail::tmat2x2< T, P > const &m, T const &epsilon)
Return whether a matrix a null matrix.
bool isIdentity(matType< T, P > const &m, T const &epsilon)
Return whether a matrix is an identity matrix.