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 genType>
61 typename genType::T
const &
epsilon);
65 template <
typename genType>
69 typename genType::T
const &
epsilon);
73 template <
typename genType, precision P,
template <
typename, precision>
class vecType>
75 vecType<genType, P>
const & v,
80 template <
typename T, precision P>
82 detail::tvec2<T, P>
const & v,
87 template <
typename T, precision P>
89 detail::tvec3<T, P>
const & v,
94 template <
typename T, precision P>
96 detail::tvec4<T, P>
const & v,
101 template <
typename genType>
105 typename genType::T
const &
epsilon);
110 #include "vector_query.inl"
112 #endif//GLM_GTX_vector_query
GLM_FUNC_DECL genType epsilon()
Return the epsilon constant for floating point types.
bool isNormalized(detail::tmat2x2< T, P > const &m, T const &epsilon)
Return whether a matrix is a normalized matrix.
bool areOrthogonal(genType const &v0, genType const &v1, typename genType::T const &epsilon)
Check whether two vectors are orthogonals.
bool isNull(detail::tmat2x2< T, P > const &m, T const &epsilon)
Return whether a matrix a null matrix.
bool areCollinear(genType const &v0, genType const &v1, typename genType::T const &epsilon)
Check whether two vectors are collinears.
bool areOrthonormal(genType const &v0, genType const &v1, typename genType::T const &epsilon)
Check whether two vectors are orthonormal.