From 61e5bcef2629e2d68b805a956a96fff264d4f74d Mon Sep 17 00:00:00 2001 From: untodesu Date: Sat, 28 Jun 2025 01:59:49 +0500 Subject: Restructure dependencies and update to C++20 - Nuked static_assert from almost everywhere in the project - Nuked binary dependency support. Might add one later though - Separated dependency headers into a separate include subdirectory - Grafted a thirdpartylegalnotices.txt generator from RITEG - Pushed development snapshot version to 2126 (26th week of 2025) --- deps/include/glm/ext/_matrix_vectorize.hpp | 128 ----------------------------- 1 file changed, 128 deletions(-) delete mode 100644 deps/include/glm/ext/_matrix_vectorize.hpp (limited to 'deps/include/glm/ext/_matrix_vectorize.hpp') diff --git a/deps/include/glm/ext/_matrix_vectorize.hpp b/deps/include/glm/ext/_matrix_vectorize.hpp deleted file mode 100644 index 0d08117..0000000 --- a/deps/include/glm/ext/_matrix_vectorize.hpp +++ /dev/null @@ -1,128 +0,0 @@ -#pragma once - -namespace glm { - - namespace detail { - - template class mat, length_t C, length_t R, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<2, 2, T, Q> call(Ret (*Func)(T x), mat<2, 2, T, Q> const &x) { - return mat<2, 2, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), - Func(x[1][0]), Func(x[1][1]) - ); - } - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<2, 3, T, Q> call(Ret (*Func)(T x), mat<2, 3, T, Q> const &x) { - return mat<2, 3, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), Func(x[0][2]), - Func(x[1][0]), Func(x[1][1]), Func(x[1][2]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<2, 4, T, Q> call(Ret (*Func)(T x), mat<2, 4, T, Q> const &x) { - return mat<2, 4, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), Func(x[0][2]), Func(x[0][3]), - Func(x[1][0]), Func(x[1][1]), Func(x[1][2]), Func(x[1][3]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<3, 2, T, Q> call(Ret (*Func)(T x), mat<3, 2, T, Q> const &x) { - return mat<3, 2, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), - Func(x[1][0]), Func(x[1][1]), - Func(x[2][0]), Func(x[2][1]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<3, 3, T, Q> call(Ret (*Func)(T x), mat<3, 3, T, Q> const &x) { - return mat<3, 3, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), Func(x[0][2]), - Func(x[1][0]), Func(x[1][1]), Func(x[1][2]), - Func(x[2][0]), Func(x[2][1]), Func(x[2][2]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<3, 4, T, Q> call(Ret (*Func)(T x), mat<3, 4, T, Q> const &x) { - return mat<3, 4, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), Func(x[0][2]), Func(x[0][3]), - Func(x[1][0]), Func(x[1][1]), Func(x[1][2]), Func(x[1][3]), - Func(x[2][0]), Func(x[2][1]), Func(x[2][2]), Func(x[2][3]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<4, 2, T, Q> call(Ret (*Func)(T x), mat<4, 2, T, Q> const &x) { - return mat<4, 2, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), - Func(x[1][0]), Func(x[1][1]), - Func(x[2][0]), Func(x[2][1]), - Func(x[3][0]), Func(x[3][1]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<4, 3, T, Q> call(Ret (*Func)(T x), mat<4, 3, T, Q> const &x) { - return mat<4, 3, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), Func(x[0][2]), - Func(x[1][0]), Func(x[1][1]), Func(x[1][2]), - Func(x[2][0]), Func(x[2][1]), Func(x[2][2]), - Func(x[3][0]), Func(x[3][1]), Func(x[3][2]) - ); - } - - }; - - template class mat, typename Ret, typename T, qualifier Q> - struct matrix_functor_1 { - - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<4, 4, T, Q> call(Ret (*Func)(T x), mat<4, 4, T, Q> const &x) { - return mat<4, 4, Ret, Q>( - Func(x[0][0]), Func(x[0][1]), Func(x[0][2]), Func(x[0][3]), - Func(x[1][0]), Func(x[1][1]), Func(x[1][2]), Func(x[1][3]), - Func(x[2][0]), Func(x[2][1]), Func(x[2][2]), Func(x[2][3]), - Func(x[3][0]), Func(x[3][1]), Func(x[3][2]), Func(x[3][3]) - ); - } - - }; - - } - -}// namespace glm -- cgit