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>
60 detail::tmat2x2<T, P>
const & m,
65 template<
typename T, precision P>
67 detail::tmat3x3<T, P>
const & m,
72 template<
typename T, precision P>
74 detail::tmat4x4<T, P>
const & m,
79 template<
typename genType>
82 typename genType::T
const &
epsilon);
86 template<
typename T, precision P>
88 detail::tmat2x2<T, P>
const & m,
93 template<
typename T, precision P>
95 detail::tmat3x3<T, P>
const & m,
100 template<
typename T, precision P>
102 detail::tmat4x4<T, P>
const & m,
107 template<
typename T, precision P,
template <
typename, precision>
class matType>
109 matType<T, P>
const & m,
115 #include "matrix_query.inl"
117 #endif//GLM_GTX_matrix_query
bool isIdentity(genType const &m, typename genType::T const &epsilon)
Return whether a matrix is an identity matrix.
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.