41 #ifndef GLM_CORE_func_vector_relational 42 #define GLM_CORE_func_vector_relational GLM_VERSION 57 template <
typename vecType>
58 typename vecType::bool_type
lessThan(vecType
const & x, vecType
const & y);
66 template <
typename vecType>
67 typename vecType::bool_type
lessThanEqual(vecType
const & x, vecType
const & y);
75 template <
typename vecType>
76 typename vecType::bool_type
greaterThan(vecType
const & x, vecType
const & y);
84 template <
typename vecType>
85 typename vecType::bool_type
greaterThanEqual(vecType
const & x, vecType
const & y);
93 template <
typename vecType>
94 typename vecType::bool_type
equal(vecType
const & x, vecType
const & y);
102 template <
typename vecType>
103 typename vecType::bool_type
notEqual(vecType
const & x, vecType
const & y);
111 template <
template <
typename>
class vecType>
112 bool any(vecType<bool>
const & v);
120 template <
template <
typename>
class vecType>
121 bool all(vecType<bool>
const & v);
130 template <
template <
typename>
class vecType>
131 vecType<bool>
not_(vecType<bool>
const & v);
138 #endif//GLM_CORE_func_vector_relational vecType::bool_type lessThanEqual(vecType const &x, vecType const &y)
Returns the component-wise comparison of result x <= y.
vecType::bool_type equal(vecType const &x, vecType const &y)
Returns the component-wise comparison of result x == y.
bool all(vecType< bool > const &v)
Returns true if all components of x are true.
Definition: func_vector_relational.inl:155
OpenGL Mathematics (glm.g-truc.net)
Definition: _detail.hpp:38
vecType< bool > not_(vecType< bool > const &v)
Returns the component-wise logical complement of x.
Definition: func_vector_relational.inl:167
OpenGL Mathematics (glm.g-truc.net)
vecType::bool_type greaterThanEqual(vecType const &x, vecType const &y)
Returns the component-wise comparison of result x >= y.
vecType::bool_type notEqual(vecType const &x, vecType const &y)
Returns the component-wise comparison of result x != y.
bool any(vecType< bool > const &v)
Returns true if any component of x is true.
Definition: func_vector_relational.inl:143
vecType::bool_type greaterThan(vecType const &x, vecType const &y)
Returns the component-wise comparison of result x > y.
vecType::bool_type lessThan(vecType const &x, vecType const &y)
Returns the component-wise comparison result of x < y.