20#ifndef GLM_ENABLE_EXPERIMENTAL
21# error "GLM: GLM_GTX_vector_query is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22#elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23# pragma message("GLM: GLM_GTX_vector_query extension included")
33 template<length_t L,
typename T, qualifier Q>
38 template<length_t L,
typename T, qualifier Q>
43 template<length_t L,
typename T, qualifier Q>
48 template<length_t L,
typename T, qualifier Q>
53 template<length_t L,
typename T, qualifier Q>
58 template<length_t L,
typename T, qualifier Q>
64#include "vector_query.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL bool isNull(mat< 2, 2, T, Q > const &m, T const &epsilon)
Return whether a matrix a null matrix.
GLM_FUNC_DECL bool isNormalized(mat< 2, 2, T, Q > const &m, T const &epsilon)
Return whether a matrix is a normalized matrix.
GLM_FUNC_DECL bool areOrthonormal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are orthonormal.
GLM_FUNC_DECL bool areCollinear(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are collinears.
GLM_FUNC_DECL vec< L, bool, Q > isCompNull(vec< L, T, Q > const &v, T const &epsilon)
Check whether a each component of a vector is null.
GLM_FUNC_DECL bool areOrthogonal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are orthogonals.