0.9.8
func_vector_relational.hpp
Go to the documentation of this file.
1 
16 #pragma once
17 
18 #include "precision.hpp"
19 #include "setup.hpp"
20 
21 namespace glm
22 {
25 
32  template <typename T, precision P, template <typename, precision> class vecType>
33  GLM_FUNC_DECL vecType<bool, P> lessThan(vecType<T, P> const & x, vecType<T, P> const & y);
34 
41  template <typename T, precision P, template <typename, precision> class vecType>
42  GLM_FUNC_DECL vecType<bool, P> lessThanEqual(vecType<T, P> const & x, vecType<T, P> const & y);
43 
50  template <typename T, precision P, template <typename, precision> class vecType>
51  GLM_FUNC_DECL vecType<bool, P> greaterThan(vecType<T, P> const & x, vecType<T, P> const & y);
52 
59  template <typename T, precision P, template <typename, precision> class vecType>
60  GLM_FUNC_DECL vecType<bool, P> greaterThanEqual(vecType<T, P> const & x, vecType<T, P> const & y);
61 
68  template <typename T, precision P, template <typename, precision> class vecType>
69  GLM_FUNC_DECL vecType<bool, P> equal(vecType<T, P> const & x, vecType<T, P> const & y);
70 
77  template <typename T, precision P, template <typename, precision> class vecType>
78  GLM_FUNC_DECL vecType<bool, P> notEqual(vecType<T, P> const & x, vecType<T, P> const & y);
79 
86  template <precision P, template <typename, precision> class vecType>
87  GLM_FUNC_DECL bool any(vecType<bool, P> const & v);
88 
95  template <precision P, template <typename, precision> class vecType>
96  GLM_FUNC_DECL bool all(vecType<bool, P> const & v);
97 
105  template <precision P, template <typename, precision> class vecType>
106  GLM_FUNC_DECL vecType<bool, P> not_(vecType<bool, P> const & v);
107 
109 }//namespace glm
110 
111 #include "func_vector_relational.inl"
GLM_FUNC_DECL vecType< bool, P > notEqual(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x != y.
GLM_FUNC_DECL vecType< bool, P > greaterThan(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x > y.
GLM_FUNC_DECL vecType< bool, P > equal(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x == y.
GLM_FUNC_DECL vecType< bool, P > lessThan(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison result of x < y.
GLM_FUNC_DECL bool any(vecType< bool, P > const &v)
Returns true if any component of x is true.
Definition: _noise.hpp:11
GLM_FUNC_DECL vecType< bool, P > greaterThanEqual(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x >= y.
GLM Core
GLM_FUNC_DECL bool all(vecType< bool, P > const &v)
Returns true if all components of x are true.
GLM_FUNC_DECL vecType< bool, P > lessThanEqual(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x <= y.
GLM Core
GLM_FUNC_DECL vecType< bool, P > not_(vecType< bool, P > const &v)
Returns the component-wise logical complement of x.