41 #ifndef GLM_CORE_func_vector_relational
42 #define GLM_CORE_func_vector_relational
44 #include "precision.hpp"
47 #if !((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC10)) // Workaround a Visual C++ bug
70 template <
typename T, precision P,
template <
typename, precision>
class vecType>
71 GLM_FUNC_DECL
typename vecType<T, P>::bool_type
lessThanEqual(vecType<T, P>
const & x, vecType<T, P>
const & y);
79 template <
typename T, precision P,
template <
typename, precision>
class vecType>
80 GLM_FUNC_DECL
typename vecType<T, P>::bool_type
greaterThan(vecType<T, P>
const & x, vecType<T, P>
const & y);
88 template <
typename T, precision P,
template <
typename, precision>
class vecType>
89 GLM_FUNC_DECL
typename vecType<T, P>::bool_type
greaterThanEqual(vecType<T, P>
const & x, vecType<T, P>
const & y);
107 template <
typename T, precision P,
template <
typename, precision>
class vecType>
108 GLM_FUNC_DECL
typename vecType<T, P>::bool_type
notEqual(vecType<T, P>
const & x, vecType<T, P>
const & y);
116 template <precision P,
template <
typename, precision>
class vecType>
117 GLM_FUNC_DECL
bool any(vecType<bool, P>
const & v);
125 template <precision P,
template <
typename, precision>
class vecType>
126 GLM_FUNC_DECL
bool all(vecType<bool, P>
const & v);
135 template <precision P,
template <
typename, precision>
class vecType>
136 GLM_FUNC_DECL vecType<bool, P>
not_(vecType<bool, P>
const & v);
143 #include "func_vector_relational.inl"
145 #endif//GLM_CORE_func_vector_relational
GLM_FUNC_DECL vecType< T, P >::bool_type notEqual(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x == y.
GLM_FUNC_DECL bool any(vecType< bool, P > const &v)
Returns true if any component of x is true.
GLM_FUNC_DECL vecType< T, P >::bool_type greaterThanEqual(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 > not_(vecType< bool, P > const &v)
Returns the component-wise logical complement of x.
GLM_FUNC_DECL vecType< T, P >::bool_type greaterThan(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison of result x > y.
GLM_FUNC_DECL vecType< T, P >::bool_type lessThanEqual(vecType< T, P > const &x, vecType< T, P > const &y)
Returns the component-wise comparison result of x < y.
GLM_FUNC_DECL bool all(vecType< bool, P > const &v)
Returns true if all components of x are true.