![]() |
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.