func_vector_relational.hpp
Go to the documentation of this file.
1 
41 #pragma once
42 
43 #include "precision.hpp"
44 #include "setup.hpp"
45 
46 #if !((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC10)) // Workaround a Visual C++ bug
47 
48 namespace glm
49 {
52 
59  // TODO: Mismatched
60  //template <typename T, precision P, template <typename, precision> class vecType>
61  //GLM_FUNC_DECL typename vecType<T, P>::bool_type lessThan(vecType<T, P> const & x, vecType<T, P> const & y);
62 
69  template <typename T, precision P, template <typename, precision> class vecType>
70  GLM_FUNC_DECL typename vecType<T, P>::bool_type lessThanEqual(vecType<T, P> const & x, vecType<T, P> const & y);
71 
78  template <typename T, precision P, template <typename, precision> class vecType>
79  GLM_FUNC_DECL typename vecType<T, P>::bool_type greaterThan(vecType<T, P> const & x, vecType<T, P> const & y);
80 
87  template <typename T, precision P, template <typename, precision> class vecType>
88  GLM_FUNC_DECL typename vecType<T, P>::bool_type greaterThanEqual(vecType<T, P> const & x, vecType<T, P> const & y);
89 
96  //TODO: conflicts with definision
97  //template <typename T, precision P, template <typename, precision> class vecType>
98  //GLM_FUNC_DECL typename vecType<T, P>::bool_type 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 typename vecType<T, P>::bool_type 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 #endif
141 
142 #include "func_vector_relational.inl"
GLM_FUNC_DECL bool any(vecType< bool, P > const &v)
GLM_FUNC_DECL bool all(vecType< bool, P > const &v)
GLM_FUNC_DECL vecType< T, P >::bool_type notEqual(vecType< T, P > const &x, vecType< T, P > const &y)
GLM_FUNC_DECL vecType< bool, P > not_(vecType< bool, P > const &v)
GLM_FUNC_DECL vecType< T, P >::bool_type greaterThanEqual(vecType< T, P > const &x, vecType< T, P > const &y)
GLM_FUNC_DECL vecType< T, P >::bool_type lessThanEqual(vecType< T, P > const &x, vecType< T, P > const &y)
GLM_FUNC_DECL vecType< T, P >::bool_type greaterThan(vecType< T, P > const &x, vecType< T, P > const &y)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:34:58