# vector_query.hpp Source File

vector_query.hpp
Go to the documentation of this file.
#ifndef GLM_GTX_vector_query
#define GLM_GTX_vector_query GLM_VERSION
// Dependency:
#include "../glm.hpp"
#include <cfloat>
#include <limits>
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
# pragma message("GLM: GLM_GTX_vector_query extension included")
#endif
namespace glm
{
template <typename genType>
bool areCollinear(
genType const & v0,
genType const & v1,
typename genType::value_type const & epsilon /* = std::numeric_limits<typename genType::value_type>::epsilon()*/);
template <typename genType>
bool areOrthogonal(
genType const & v0,
genType const & v1,
typename genType::value_type const & epsilon /* = std::numeric_limits<typename genType::value_type>::epsilon()*/);
template <typename genType, template <typename> class vecType>
bool isNormalized(
vecType<genType> const & v,
genType const & epsilon /* = std::numeric_limits<genType>::epsilon()*/);
template <typename valType>
bool isNull(
detail::tvec2<valType> const & v,
valType const & epsilon /* = std::numeric_limits<typename genType::value_type>::epsilon()*/);
template <typename valType>
bool isNull(
detail::tvec3<valType> const & v,
valType const & epsilon /* = std::numeric_limits<typename genType::value_type>::epsilon()*/);
template <typename valType>
bool isNull(
detail::tvec4<valType> const & v,
valType const & epsilon /* = std::numeric_limits<typename genType::value_type>::epsilon()*/);
template <typename genType>
bool areOrthonormal(
genType const & v0,
genType const & v1,
typename genType::value_type const & epsilon /* = std::numeric_limits<typename genType::value_type>::epsilon()*/);
}// namespace glm
#include "vector_query.inl"
#endif//GLM_GTX_vector_query