|
template<template< typename > class vecType> |
bool | all (vecType< bool > const &v) |
|
template<template< typename > class vecType> |
bool | any (vecType< bool > const &v) |
|
template<typename vecType > |
vecType::bool_type | equal (vecType const &x, vecType const &y) |
|
template<typename vecType > |
vecType::bool_type | greaterThan (vecType const &x, vecType const &y) |
|
template<typename vecType > |
vecType::bool_type | greaterThanEqual (vecType const &x, vecType const &y) |
|
template<typename vecType > |
vecType::bool_type | lessThan (vecType const &x, vecType const &y) |
|
template<typename vecType > |
vecType::bool_type | lessThanEqual (vecType const &x, vecType const &y) |
|
template<template< typename > class vecType> |
vecType< bool > | not_ (vecType< bool > const &v) |
|
template<typename vecType > |
vecType::bool_type | notEqual (vecType const &x, vecType const &y) |
|
Relational and equality operators (<, <=, >, >=, ==, !=) are defined to operate on scalars and produce scalar Boolean results.
For vector results, use the following built-in functions.
In all cases, the sizes of all the input and return vectors for any particular call must match.
bool glm::all |
( |
vecType< bool > const & |
v | ) |
|
bool glm::any |
( |
vecType< bool > const & |
v | ) |
|
vecType::bool_type glm::equal |
( |
vecType const & |
x, |
|
|
vecType const & |
y |
|
) |
| |
vecType::bool_type glm::greaterThan |
( |
vecType const & |
x, |
|
|
vecType const & |
y |
|
) |
| |
vecType::bool_type glm::greaterThanEqual |
( |
vecType const & |
x, |
|
|
vecType const & |
y |
|
) |
| |
vecType::bool_type glm::lessThan |
( |
vecType const & |
x, |
|
|
vecType const & |
y |
|
) |
| |
vecType::bool_type glm::lessThanEqual |
( |
vecType const & |
x, |
|
|
vecType const & |
y |
|
) |
| |
vecType<bool> glm::not_ |
( |
vecType< bool > const & |
v | ) |
|
vecType::bool_type glm::notEqual |
( |
vecType const & |
x, |
|
|
vecType const & |
y |
|
) |
| |