0.9.9 API documenation
|
Functions | |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL bool | areCollinear (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon) |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL bool | areOrthogonal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon) |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL bool | areOrthonormal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon) |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL vec< L, bool, Q > | isCompNull (vec< L, T, Q > const &v, T const &epsilon) |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL bool | isNormalized (vec< L, T, Q > const &v, T const &epsilon) |
template<length_t L, typename T , qualifier Q> | |
GLM_FUNC_DECL bool | isNull (vec< L, T, Q > const &v, T const &epsilon) |
Include <glm/gtx/vector_query.hpp> to use the features of this extension.
Query informations of vector types
GLM_FUNC_DECL bool glm::areCollinear | ( | vec< L, T, Q > const & | v0, |
vec< L, T, Q > const & | v1, | ||
T const & | epsilon | ||
) |
Check whether two vectors are collinears.
GLM_FUNC_DECL bool glm::areOrthogonal | ( | vec< L, T, Q > const & | v0, |
vec< L, T, Q > const & | v1, | ||
T const & | epsilon | ||
) |
Check whether two vectors are orthogonals.
GLM_FUNC_DECL bool glm::areOrthonormal | ( | vec< L, T, Q > const & | v0, |
vec< L, T, Q > const & | v1, | ||
T const & | epsilon | ||
) |
Check whether two vectors are orthonormal.
GLM_FUNC_DECL vec<L, bool, Q> glm::isCompNull | ( | vec< L, T, Q > const & | v, |
T const & | epsilon | ||
) |
Check whether a each component of a vector is null.
GLM_FUNC_DECL bool glm::isNormalized | ( | vec< L, T, Q > const & | v, |
T const & | epsilon | ||
) |
Check whether a vector is normalized.
GLM_FUNC_DECL bool glm::isNull | ( | vec< L, T, Q > const & | v, |
T const & | epsilon | ||
) |
Check whether a vector is null.