| 0.9.7

- Main Page
- Modules
- Files

- File List

func_vector_relational.hpp
Go to the documentation of this file.
1
45 #pragma once
46
47 #include "precision.hpp"
48 #include "setup.hpp"
49
50 namespace glm
51 {
54
61 template <typename T, precision P, template <typename, precision> class vecType>
62 GLM_FUNC_DECL vecType<bool, P> lessThan(vecType<T, P> const & x, vecType<T, P> const & y);
63
70 template <typename T, precision P, template <typename, precision> class vecType>
71 GLM_FUNC_DECL vecType<bool, P> lessThanEqual(vecType<T, P> const & x, vecType<T, P> const & y);
72
79 template <typename T, precision P, template <typename, precision> class vecType>
80 GLM_FUNC_DECL vecType<bool, P> greaterThan(vecType<T, P> const & x, vecType<T, P> const & y);
81
88 template <typename T, precision P, template <typename, precision> class vecType>
89 GLM_FUNC_DECL vecType<bool, P> greaterThanEqual(vecType<T, P> const & x, vecType<T, P> const & y);
90
97 template <typename T, precision P, template <typename, precision> class vecType>
98 GLM_FUNC_DECL vecType<bool, P> equal(vecType<T, P> const & x, vecType<T, P> const & y);
99
106 template <typename T, precision P, template <typename, precision> class vecType>
107 GLM_FUNC_DECL vecType<bool, P> notEqual(vecType<T, P> const & x, vecType<T, P> const & y);
108
115 template <precision P, template <typename, precision> class vecType>
116 GLM_FUNC_DECL bool any(vecType<bool, P> const & v);
117
124 template <precision P, template <typename, precision> class vecType>
125 GLM_FUNC_DECL bool all(vecType<bool, P> const & v);
126
134 template <precision P, template <typename, precision> class vecType>
135 GLM_FUNC_DECL vecType<bool, P> not_(vecType<bool, P> const & v);
136
138 }//namespace glm
139
140 #include "func_vector_relational.inl"
glm::lessThan
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::greaterThanEqual
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::greaterThan
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::all
GLM_FUNC_DECL bool all(vecType< bool, P > const &v)
Returns true if all components of x are true.
glm
Definition: _noise.hpp:40
glm::lessThanEqual
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::equal
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.
setup.hpp
OpenGL Mathematics (glm.g-truc.net)
glm::any
GLM_FUNC_DECL bool any(vecType< bool, P > const &v)
Returns true if any component of x is true.
glm::not_
GLM_FUNC_DECL vecType< bool, P > not_(vecType< bool, P > const &v)
Returns the component-wise logical complement of x.
precision.hpp
OpenGL Mathematics (glm.g-truc.net)
glm::notEqual
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.