Fixed glm::log2<int>() returns wrong value, missing static assert #683

This commit is contained in:
Christophe Riccio
2017-09-20 14:17:42 +02:00
parent 5606dd1aac
commit 1bf24f8344
3 changed files with 3 additions and 10 deletions

View File

@@ -35,15 +35,6 @@ namespace glm
template<typename genIUType>
GLM_FUNC_DECL genIUType log2(genIUType x);
template<typename genIUType>
GLM_FUNC_DECL genIUType mod(genIUType x, genIUType y);
template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> mod(vec<L, T, Q> const& x, T y);
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);
/// 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.