0.9.9 API documenation
func_vector_relational.hpp
Go to the documentation of this file.
1 
16 #pragma once
17 
18 #include "qualifier.hpp"
19 #include "setup.hpp"
20 
21 namespace glm
22 {
25 
33  template<length_t L, typename T, qualifier P>
34  GLM_FUNC_DECL vec<L, bool, P> lessThan(vec<L, T, P> const& x, vec<L, T, P> const& y);
35 
43  template<length_t L, typename T, qualifier P>
44  GLM_FUNC_DECL vec<L, bool, P> lessThanEqual(vec<L, T, P> const& x, vec<L, T, P> const& y);
45 
53  template<length_t L, typename T, qualifier P>
54  GLM_FUNC_DECL vec<L, bool, P> greaterThan(vec<L, T, P> const& x, vec<L, T, P> const& y);
55 
63  template<length_t L, typename T, qualifier P>
64  GLM_FUNC_DECL vec<L, bool, P> greaterThanEqual(vec<L, T, P> const& x, vec<L, T, P> const& y);
65 
73  template<length_t L, typename T, qualifier P>
74  GLM_FUNC_DECL vec<L, bool, P> equal(vec<L, T, P> const& x, vec<L, T, P> const& y);
75 
83  template<length_t L, typename T, qualifier P>
84  GLM_FUNC_DECL vec<L, bool, P> notEqual(vec<L, T, P> const& x, vec<L, T, P> const& y);
85 
92  template<length_t L, qualifier P>
93  GLM_FUNC_DECL bool any(vec<L, bool, P> const& v);
94 
101  template<length_t L, qualifier P>
102  GLM_FUNC_DECL bool all(vec<L, bool, P> const& v);
103 
111  template<length_t L, qualifier P>
112  GLM_FUNC_DECL vec<L, bool, P> not_(vec<L, bool, P> const& v);
113 
115 }//namespace glm
116 
117 #include "func_vector_relational.inl"
GLM_FUNC_DECL vec< L, bool, P > lessThan(vec< L, T, P > const &x, vec< L, T, P > const &y)
Returns the component-wise comparison result of x < y.
GLM_FUNC_DECL vec< L, bool, P > equal(vec< L, T, P > const &x, vec< L, T, P > const &y)
Returns the component-wise comparison of result x == y.
GLM_FUNC_DECL bool any(vec< L, bool, P > const &v)
Returns true if any component of x is true.
Definition: _noise.hpp:11
GLM_FUNC_DECL vec< L, bool, P > lessThanEqual(vec< L, T, P > const &x, vec< L, T, P > const &y)
Returns the component-wise comparison of result x <= y.
GLM_FUNC_DECL vec< L, bool, P > not_(vec< L, bool, P > const &v)
Returns the component-wise logical complement of x.
GLM_FUNC_DECL vec< L, bool, P > greaterThanEqual(vec< L, T, P > const &x, vec< L, T, P > const &y)
Returns the component-wise comparison of result x >= y.
GLM_FUNC_DECL vec< L, bool, P > greaterThan(vec< L, T, P > const &x, vec< L, T, P > const &y)
Returns the component-wise comparison of result x > y.
GLM_FUNC_DECL bool all(vec< L, bool, P > const &v)
Returns true if all components of x are true.
GLM Core
GLM_FUNC_DECL vec< L, bool, P > notEqual(vec< L, T, P > const &x, vec< L, T, P > const &y)
Returns the component-wise comparison of result x != y.
GLM Core