aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/glm/source/test/gtx/gtx_functions.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-03 23:25:43 -0700
committerrtk0c <[email protected]>2022-06-03 23:25:43 -0700
commitc2ef7737536bf1f8c81fcfae95c0183b21c9753f (patch)
tree903178f538f4d66e48a91e82827a0c91a0e42f99 /3rdparty/glm/source/test/gtx/gtx_functions.cpp
parent8510a85f79f706b93982b4e398b187b5f77081dd (diff)
Changeset: 62 Branch comment: [] [WIP] Initial migration
Diffstat (limited to '3rdparty/glm/source/test/gtx/gtx_functions.cpp')
-rw-r--r--3rdparty/glm/source/test/gtx/gtx_functions.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/3rdparty/glm/source/test/gtx/gtx_functions.cpp b/3rdparty/glm/source/test/gtx/gtx_functions.cpp
deleted file mode 100644
index 48a6af0..0000000
--- a/3rdparty/glm/source/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;
-}
-