|  | 0.9.9 API documenation
    | 
Allow to perform bit operations on integer values. More...
| Functions | |
| template<typename T , precision P, template< typename, precision > class vecType> | |
| GLM_FUNC_DECL vecType< int, P > | iround (vecType< T, P > const &x) | 
| Returns a value equal to the nearest integer to x.  More... | |
| template<typename genIUType > | |
| GLM_FUNC_DECL genIUType | log2 (genIUType x) | 
| Returns the log2 of x for integer values.  More... | |
| template<typename genIUType > | |
| GLM_FUNC_DECL genIUType | mod (genIUType x, genIUType y) | 
| Modulus.  More... | |
| template<typename T , precision P, template< typename, precision > class vecType> | |
| GLM_FUNC_DECL vecType< T, P > | mod (vecType< T, P > const &x, T y) | 
| Modulus.  More... | |
| template<typename T , precision P, template< typename, precision > class vecType> | |
| GLM_FUNC_DECL vecType< T, P > | mod (vecType< T, P > const &x, vecType< T, P > const &y) | 
| Modulus.  More... | |
| template<typename T , precision P, template< typename, precision > class vecType> | |
| GLM_FUNC_DECL vecType< uint, P > | uround (vecType< T, P > const &x) | 
| Returns a value equal to the nearest integer to x.  More... | |
Allow to perform bit operations on integer values.
<glm/gtc/integer.hpp> need to be included to use these functionalities.
| GLM_FUNC_DECL vecType<int, P> glm::iround | ( | vecType< T, P > const & | x | ) | 
Returns a value equal to the nearest integer to x.
The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest.
| x | The values of the argument must be greater or equal to zero. | 
| T | floating point scalar types. | 
| vecType | vector types. | 
| GLM_FUNC_DECL genIUType glm::log2 | ( | genIUType | x | ) | 
Returns the log2 of x for integer values.
Can be reliably using to compute mipmap count from the texture size.
| GLM_FUNC_DECL genIUType glm::mod | ( | genIUType | x, | 
| genIUType | y | ||
| ) | 
Modulus.
Returns x % y for each component in x using the floating point value y.
| genIUType | Integer-point scalar or vector types. | 
| GLM_FUNC_DECL vecType< T, P > mod | ( | vecType< T, P > const & | x, | 
| T | y | ||
| ) | 
Modulus.
Returns x % y for each component in x using the floating point value y.
| T | Integer scalar types. | 
| vecType | vector types. | 
| GLM_FUNC_DECL vecType< T, P > mod | ( | vecType< T, P > const & | x, | 
| vecType< T, P > const & | y | ||
| ) | 
Modulus.
Returns x % y for each component in x using the floating point value y.
| T | Integer scalar types. | 
| vecType | vector types. | 
| GLM_FUNC_DECL vecType<uint, P> glm::uround | ( | vecType< T, P > const & | x | ) | 
Returns a value equal to the nearest integer to x.
The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest.
| x | The values of the argument must be greater or equal to zero. | 
| T | floating point scalar types. | 
| vecType | vector types. | 
 1.8.10
 1.8.10