mirror of
https://github.com/g-truc/glm.git
synced 2025-04-09 07:00:57 +00:00
Fixed warnings
This commit is contained in:
parent
58c5e0ef4d
commit
29f600dfbb
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ int test_gauss_2d()
|
|||
|
||||
std::vector<float> Result(20);
|
||||
for(std::size_t i = 0, n = Result.size(); i < n; ++i)
|
||||
Result[i] = glm::gauss(glm::vec2(i) * 0.1f, glm::vec2(0.0f), glm::vec2(1.0f));
|
||||
Result[i] = glm::gauss(glm::vec2(static_cast<float>(i)) * 0.1f, glm::vec2(0.0f), glm::vec2(1.0f));
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue