GLM Version 0.9.0
|
Define vector relational functions from Section 8.3 of GLSL 1.30.8 specification. More...
Functions | |
template<template< typename > class vecType> | |
bool | all (vecType< bool > const &v) |
Returns true if all components of x are true. | |
template<template< typename > class vecType> | |
bool | any (vecType< bool > const &v) |
Returns true if any component of x is true. | |
template<typename T , template< typename > class vecType> | |
vecType< T >::bool_type | equal (vecType< T > const &x, vecType< T > const &y) |
Returns the component-wise comparison of result x == y. | |
template<typename T , template< typename > class vecType> | |
vecType< T >::bool_type | greaterThan (vecType< T > const &x, vecType< T > const &y) |
Returns the component-wise comparison of result x > y. | |
template<typename T , template< typename > class vecType> | |
vecType< T >::bool_type | greaterThanEqual (vecType< T > const &x, vecType< T > const &y) |
Returns the component-wise comparison of result x >= y. | |
template<typename T , template< typename > class vecType> | |
vecType< T >::bool_type | lessThan (vecType< T > const &x, vecType< T > const &y) |
Returns the component-wise comparison result of x < y. | |
template<typename T , template< typename > class vecType> | |
vecType< T >::bool_type | lessThanEqual (vecType< T > const &x, vecType< T > const &y) |
Returns the component-wise comparison of result x <= y. | |
template<template< typename > class vecType> | |
vecType< bool > | not_ (vecType< bool > const &v) |
Returns the component-wise logical complement of x. | |
template<typename T , template< typename > class vecType> | |
vecType< T >::bool_type | notEqual (vecType< T > const &x, vecType< T > const &y) |
Returns the component-wise comparison of result x != y. |
Define vector relational functions from Section 8.3 of GLSL 1.30.8 specification.
Included in glm namespace.
bool glm::core::function::vector_relational::all | ( | vecType< bool > const & | v | ) |
Returns true if all components of x are true.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 161 of file func_vector_relational.hpp.
bool glm::core::function::vector_relational::any | ( | vecType< bool > const & | v | ) |
Returns true if any component of x is true.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 150 of file func_vector_relational.hpp.
vecType<T>::bool_type glm::core::function::vector_relational::equal | ( | vecType< T > const & | x, |
vecType< T > const & | y | ||
) |
Returns the component-wise comparison of result x == y.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 109 of file func_vector_relational.hpp.
vecType<T>::bool_type glm::core::function::vector_relational::greaterThan | ( | vecType< T > const & | x, |
vecType< T > const & | y | ||
) |
Returns the component-wise comparison of result x > y.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 69 of file func_vector_relational.hpp.
vecType<T>::bool_type glm::core::function::vector_relational::greaterThanEqual | ( | vecType< T > const & | x, |
vecType< T > const & | y | ||
) |
Returns the component-wise comparison of result x >= y.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 89 of file func_vector_relational.hpp.
vecType<T>::bool_type glm::core::function::vector_relational::lessThan | ( | vecType< T > const & | x, |
vecType< T > const & | y | ||
) |
Returns the component-wise comparison result of x < y.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 29 of file func_vector_relational.hpp.
vecType<T>::bool_type glm::core::function::vector_relational::lessThanEqual | ( | vecType< T > const & | x, |
vecType< T > const & | y | ||
) |
Returns the component-wise comparison of result x <= y.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 49 of file func_vector_relational.hpp.
vecType<bool> glm::core::function::vector_relational::not_ | ( | vecType< bool > const & | v | ) |
Returns the component-wise logical complement of x.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 172 of file func_vector_relational.hpp.
vecType<T>::bool_type glm::core::function::vector_relational::notEqual | ( | vecType< T > const & | x, |
vecType< T > const & | y | ||
) |
Returns the component-wise comparison of result x != y.
(From GLSL 1.30.08 specification, section 8.6)
Definition at line 130 of file func_vector_relational.hpp.