45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTX_vector_query extension included")
56 template <
typename T, precision P,
template <
typename, precision>
class vecType>
57 GLM_FUNC_DECL
bool areCollinear(vecType<T, P>
const & v0, vecType<T, P>
const & v1, T
const &
epsilon);
61 template <
typename T, precision P,
template <
typename, precision>
class vecType>
62 GLM_FUNC_DECL
bool areOrthogonal(vecType<T, P>
const & v0, vecType<T, P>
const & v1, T
const &
epsilon);
66 template <
typename T, precision P,
template <
typename, precision>
class vecType>
71 template <
typename T, precision P,
template <
typename, precision>
class vecType>
72 GLM_FUNC_DECL
bool isNull(vecType<T, P>
const & v, T
const &
epsilon);
76 template <
typename T, precision P,
template <
typename, precision>
class vecType>
77 GLM_FUNC_DECL vecType<bool, P>
isCompNull(vecType<T, P>
const & v, T
const &
epsilon);
81 template <
typename T, precision P,
template <
typename, precision>
class vecType>
82 GLM_FUNC_DECL
bool areOrthonormal(vecType<T, P>
const & v0, vecType<T, P>
const & v1, T
const &
epsilon);
87 #include "vector_query.inl"
GLM_FUNC_DECL bool isNormalized(vecType< T, P > const &v, T const &epsilon)
Check whether a vector is normalized.
GLM_FUNC_DECL genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL bool areOrthonormal(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
Check whether two vectors are orthonormal.
GLM_FUNC_DECL vecType< bool, P > isCompNull(vecType< T, P > const &v, T const &epsilon)
Check whether a each component of a vector is null.
GLM_FUNC_DECL bool areOrthogonal(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
Check whether two vectors are orthogonals.
GLM_FUNC_DECL bool areCollinear(vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon)
Check whether two vectors are collinears.
GLM_FUNC_DECL bool isNull(vecType< T, P > const &v, T const &epsilon)
Check whether a vector is null.