0.9.8: func_vector_relational.hpp Source File

| 0.9.8

- Main Page
- Modules
- Files

- File List

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::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.
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::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.
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::any
GLM_FUNC_DECL bool any(vecType< bool, P > const &v)
Returns true if any component of x is true.
glm
Definition: _noise.hpp:11
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.
setup.hpp
GLM Core
glm::all
GLM_FUNC_DECL bool all(vecType< bool, P > const &v)
Returns true if all components of x are true.
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.
precision.hpp
GLM Core
glm::not_
GLM_FUNC_DECL vecType< bool, P > not_(vecType< bool, P > const &v)
Returns the component-wise logical complement of x.