PSMoveService
func_vector_relational.hpp
Go to the documentation of this file.
1 
41 #ifndef GLM_CORE_func_vector_relational
42 #define GLM_CORE_func_vector_relational GLM_VERSION
43 
44 #include "_detail.hpp"
45 
46 namespace glm
47 {
50 
57  template <typename vecType>
58  typename vecType::bool_type lessThan(vecType const & x, vecType const & y);
59 
66  template <typename vecType>
67  typename vecType::bool_type lessThanEqual(vecType const & x, vecType const & y);
68 
75  template <typename vecType>
76  typename vecType::bool_type greaterThan(vecType const & x, vecType const & y);
77 
84  template <typename vecType>
85  typename vecType::bool_type greaterThanEqual(vecType const & x, vecType const & y);
86 
93  template <typename vecType>
94  typename vecType::bool_type equal(vecType const & x, vecType const & y);
95 
102  template <typename vecType>
103  typename vecType::bool_type notEqual(vecType const & x, vecType const & y);
104 
111  template <template <typename> class vecType>
112  bool any(vecType<bool> const & v);
113 
120  template <template <typename> class vecType>
121  bool all(vecType<bool> const & v);
122 
130  template <template <typename> class vecType>
131  vecType<bool> not_(vecType<bool> const & v);
132 
134 }//namespace glm
135 
137 
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.