0.9.9 API documenation
|
Go to the source code of this file.
Functions | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, int, P > | iround (vec< L, 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<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | mod (vec< L, T, P > const &x, T y) |
Modulus. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, T, P > | mod (vec< L, T, P > const &x, vec< L, T, P > const &y) |
Modulus. More... | |
template<length_t L, typename T , qualifier P> | |
GLM_FUNC_DECL vec< L, uint, P > | uround (vec< L, T, P > const &x) |
Returns a value equal to the nearest integer to x. More... | |
Definition in file gtc/integer.hpp.