GLM_GTC_integer
More...
#include "../detail/setup.hpp"
#include "../detail/qualifier.hpp"
#include "../common.hpp"
#include "../integer.hpp"
#include "../exponential.hpp"
#include <limits>
#include "integer.inl"
Go to the source code of this file.
|
template<typename genIUType > |
GLM_FUNC_DECL genIUType | glm::log2 (genIUType x) |
| Returns the log2 of x for integer values. More...
|
|
template<length_t L, typename T , qualifier Q> |
GLM_FUNC_DECL vec< L, int, Q > | glm::iround (vec< L, T, Q > const &x) |
| Returns a value equal to the nearest integer to x. More...
|
|
template<length_t L, typename T , qualifier Q> |
GLM_FUNC_DECL vec< L, uint, Q > | glm::uround (vec< L, T, Q > const &x) |
| Returns a value equal to the nearest integer to x. More...
|
|