diff options
author | jjesswan <jessica_wan@brown.edu> | 2024-05-07 06:03:03 -0400 |
---|---|---|
committer | jjesswan <jessica_wan@brown.edu> | 2024-05-07 06:03:03 -0400 |
commit | 675391d07f50d0067e7bab983433c6d86f5f8256 (patch) | |
tree | 65a857125b91502974bceb40e24c1c7eff4bad59 /glm-master/test/gtx/gtx_functions.cpp | |
parent | 6a45579dbbf991c0e12ce59958e3b533d19fc9d4 (diff) |
remove glm
Diffstat (limited to 'glm-master/test/gtx/gtx_functions.cpp')
-rw-r--r-- | glm-master/test/gtx/gtx_functions.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/glm-master/test/gtx/gtx_functions.cpp b/glm-master/test/gtx/gtx_functions.cpp deleted file mode 100644 index 48a6af0..0000000 --- a/glm-master/test/gtx/gtx_functions.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include <glm/gtx/functions.hpp> -#include <glm/ext/vector_float2.hpp> -#include <vector> - -int test_gauss_1d() -{ - int Error = 0; - - std::vector<float> Result(20); - for(std::size_t i = 0, n = Result.size(); i < n; ++i) - Result[i] = glm::gauss(static_cast<float>(i) * 0.1f, 0.0f, 1.0f); - - return Error; -} - -int test_gauss_2d() -{ - int Error = 0; - - std::vector<float> Result(20); - for(std::size_t i = 0, n = Result.size(); i < n; ++i) - Result[i] = glm::gauss(glm::vec2(static_cast<float>(i)) * 0.1f, glm::vec2(0.0f), glm::vec2(1.0f)); - - return Error; -} - -int main() -{ - int Error = 0; - - Error += test_gauss_1d(); - Error += test_gauss_2d(); - - return Error; -} - |