From c2ef7737536bf1f8c81fcfae95c0183b21c9753f Mon Sep 17 00:00:00 2001 From: rtk0c Date: Fri, 3 Jun 2022 23:25:43 -0700 Subject: Changeset: 62 Branch comment: [] [WIP] Initial migration --- 3rdparty/glm/source/test/ext/ext_matrix_common.cpp | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 3rdparty/glm/source/test/ext/ext_matrix_common.cpp (limited to '3rdparty/glm/source/test/ext/ext_matrix_common.cpp') diff --git a/3rdparty/glm/source/test/ext/ext_matrix_common.cpp b/3rdparty/glm/source/test/ext/ext_matrix_common.cpp deleted file mode 100644 index df0c3fe..0000000 --- a/3rdparty/glm/source/test/ext/ext_matrix_common.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include -#include -#include -#include -#include - -static int test_mix() -{ - int Error = 0; - - { - glm::mat4 A(2); - glm::mat4 B(4); - glm::mat4 C = glm::mix(A, B, 0.5f); - glm::bvec4 const D = glm::equal(C, glm::mat4(3), 1); - Error += glm::all(D) ? 0 : 1; - } - - { - glm::mat4 A(2); - glm::mat4 B(4); - glm::mat4 C = glm::mix(A, B, 0.5); - glm::bvec4 const D = glm::equal(C, glm::mat4(3), 1); - Error += glm::all(D) ? 0 : 1; - } - - { - glm::dmat4 A(2); - glm::dmat4 B(4); - glm::dmat4 C = glm::mix(A, B, 0.5); - glm::bvec4 const D = glm::equal(C, glm::dmat4(3), 1); - Error += glm::all(D) ? 0 : 1; - } - - { - glm::dmat4 A(2); - glm::dmat4 B(4); - glm::dmat4 C = glm::mix(A, B, 0.5f); - glm::bvec4 const D = glm::equal(C, glm::dmat4(3), 1); - Error += glm::all(D) ? 0 : 1; - } - - return Error; -} - -int main() -{ - int Error = 0; - - Error += test_mix(); - - return Error; -} -- cgit v1.2.3-70-g09d2