38 #ifndef GLM_GTX_vector_query
39 #define GLM_GTX_vector_query
46 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
47 # pragma message("GLM: GLM_GTX_vector_query extension included")
57 template <
typename T, precision P,
template <
typename, precision>
class vecType>
62 template <
typename T, precision P,
template <
typename, precision>
class vecType>
67 template <
typename T, precision P,
template <
typename, precision>
class vecType>
72 template <
typename T, precision P,
template <
typename, precision>
class vecType>
77 template <
typename T, precision P,
template <
typename, precision>
class vecType>
82 template <
typename T, precision P,
template <
typename, precision>
class vecType>
88 #include "vector_query.inl"
90 #endif//GLM_GTX_vector_query
GLM_FUNC_DECL genType epsilon()
Return the epsilon constant for floating point types.
bool areOrthonormal(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
Check whether two vectors are orthonormal.
bool areOrthogonal(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
Check whether two vectors are orthogonals.
bool areCollinear(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
Check whether two vectors are collinears.
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.
vecType< bool, P > isCompNull(vecType< T, P > const &v, T const &epsilon)
Check whether a each component of a vector is null.