mirror of
https://github.com/g-truc/glm.git
synced 2024-12-01 20:24:38 +00:00
Fixed warnings
This commit is contained in:
parent
18d67da79c
commit
dde5178b84
@ -245,7 +245,7 @@ namespace glm
|
|||||||
GLM_FUNC_QUALIFIER T next_float(T const & x, uint const & ulps)
|
GLM_FUNC_QUALIFIER T next_float(T const & x, uint const & ulps)
|
||||||
{
|
{
|
||||||
T temp = x;
|
T temp = x;
|
||||||
for(length_t i = 0; i < ulps; ++i)
|
for(uint i = 0; i < ulps; ++i)
|
||||||
temp = next_float(temp);
|
temp = next_float(temp);
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
@ -254,7 +254,7 @@ namespace glm
|
|||||||
GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x, vecType<uint, P> const & ulps)
|
GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x, vecType<uint, P> const & ulps)
|
||||||
{
|
{
|
||||||
vecType<T, P> Result;
|
vecType<T, P> Result;
|
||||||
for(length_t i = 0; i < Result.length(); ++i)
|
for(uint i = 0; i < Result.length(); ++i)
|
||||||
Result[i] = next_float(x[i], ulps[i]);
|
Result[i] = next_float(x[i], ulps[i]);
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
@ -263,7 +263,7 @@ namespace glm
|
|||||||
GLM_FUNC_QUALIFIER T prev_float(T const & x, uint const & ulps)
|
GLM_FUNC_QUALIFIER T prev_float(T const & x, uint const & ulps)
|
||||||
{
|
{
|
||||||
T temp = x;
|
T temp = x;
|
||||||
for(length_t i = 0; i < ulps; ++i)
|
for(uint i = 0; i < ulps; ++i)
|
||||||
temp = prev_float(temp);
|
temp = prev_float(temp);
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user