Query informations of vector types. More...
Functions | |
template<typename T , precision P, template< typename, precision > class vecType> | |
GLM_FUNC_DECL bool | glm::areCollinear (vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon) |
template<typename T , precision P, template< typename, precision > class vecType> | |
GLM_FUNC_DECL bool | glm::areOrthogonal (vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon) |
template<typename T , precision P, template< typename, precision > class vecType> | |
GLM_FUNC_DECL bool | glm::areOrthonormal (vecType< T, P > const &v0, vecType< T, P > const &v1, T const &epsilon) |
template<typename T , precision P, template< typename, precision > class vecType> | |
GLM_FUNC_DECL vecType< bool, P > | glm::isCompNull (vecType< T, P > const &v, T const &epsilon) |
template<typename T , precision P, template< typename, precision > class vecType> | |
GLM_FUNC_DECL bool | glm::isNormalized (vecType< T, P > const &v, T const &epsilon) |
template<typename T , precision P, template< typename, precision > class vecType> | |
GLM_FUNC_DECL bool | glm::isNull (vecType< T, P > const &v, T const &epsilon) |
Query informations of vector types.
<glm/gtx/vector_query.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL bool glm::areCollinear | ( | vecType< T, P > const & | v0, |
vecType< T, P > const & | v1, | ||
T const & | epsilon | ||
) |
Check whether two vectors are collinears.
GLM_FUNC_DECL bool glm::areOrthogonal | ( | vecType< T, P > const & | v0, |
vecType< T, P > const & | v1, | ||
T const & | epsilon | ||
) |
Check whether two vectors are orthogonals.
GLM_FUNC_DECL bool glm::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> glm::isCompNull | ( | vecType< T, P > const & | v, |
T const & | epsilon | ||
) |
Check whether a each component of a vector is null.
GLM_FUNC_DECL bool glm::isNormalized | ( | vecType< T, P > const & | v, |
T const & | epsilon | ||
) |
Check whether a vector is normalized.
GLM_FUNC_DECL bool glm::isNull | ( | vecType< T, P > const & | v, |
T const & | epsilon | ||
) |
Check whether a vector is null.