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