Fixed int used instead of glm::length_t

This commit is contained in:
Christophe Riccio
2014-03-15 22:33:25 +01:00
parent db09ecfc41
commit efd4087b1c
10 changed files with 19 additions and 19 deletions

View File

@@ -255,7 +255,7 @@ namespace glm
GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x, vecType<uint, P> const & ulps)
{
vecType<T, P> Result;
for(uint i = 0; i < Result.length(); ++i)
for(length_t i = 0; i < Result.length(); ++i)
Result[i] = next_float(x[i], ulps[i]);
return Result;
}