diff options
Diffstat (limited to '3rdparty/glm/test/gtc/gtc_functions.cpp')
-rw-r--r-- | 3rdparty/glm/test/gtc/gtc_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/glm/test/gtc/gtc_functions.cpp b/3rdparty/glm/test/gtc/gtc_functions.cpp index 0bdf8ab5871..3e0b3c88bb2 100644 --- a/3rdparty/glm/test/gtc/gtc_functions.cpp +++ b/3rdparty/glm/test/gtc/gtc_functions.cpp @@ -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; } |