0.9.9 API documenation
vector_relational.hpp
1 
18 #pragma once
19 
20 #include "detail/qualifier.hpp"
21 #include "detail/setup.hpp"
22 
23 namespace glm
24 {
27 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL vec<L, bool, Q> lessThan(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
37 
45  template<length_t L, typename T, qualifier Q>
46  GLM_FUNC_DECL vec<L, bool, Q> lessThanEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
47 
55  template<length_t L, typename T, qualifier Q>
56  GLM_FUNC_DECL vec<L, bool, Q> greaterThan(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
57 
65  template<length_t L, typename T, qualifier Q>
66  GLM_FUNC_DECL vec<L, bool, Q> greaterThanEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
67 
75  template<length_t L, typename T, qualifier Q>
76  GLM_FUNC_DECL vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
77 
85  template<length_t L, typename T, qualifier Q>
86  GLM_FUNC_DECL vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
87 
94  template<length_t L, qualifier Q>
95  GLM_FUNC_DECL bool any(vec<L, bool, Q> const& v);
96 
103  template<length_t L, qualifier Q>
104  GLM_FUNC_DECL bool all(vec<L, bool, Q> const& v);
105 
113  template<length_t L, qualifier Q>
114  GLM_FUNC_DECL vec<L, bool, Q> not_(vec<L, bool, Q> const& v);
115 
117 }//namespace glm
118 
119 #include "detail/func_vector_relational.inl"
GLM_FUNC_DECL vec< L, bool, Q > greaterThan(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x > y.
Definition: common.hpp:20
Core features
GLM_FUNC_DECL vec< L, bool, Q > lessThanEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x <= y.
GLM_FUNC_DECL vec< L, bool, Q > greaterThanEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x >= y.
GLM_FUNC_DECL bool any(vec< L, bool, Q > const &v)
Returns true if any component of x is true.
GLM_FUNC_DECL vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x == y.
GLM_FUNC_DECL vec< L, bool, Q > not_(vec< L, bool, Q > const &v)
Returns the component-wise logical complement of x.
GLM_FUNC_DECL vec< L, bool, Q > lessThan(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison result of x < y.
Core features
GLM_FUNC_DECL bool all(vec< L, bool, Q > const &v)
Returns true if all components of x are true.
GLM_FUNC_DECL vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x != y.