diff options
| author | untodesu <kirill@untode.su> | 2025-06-28 01:59:49 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-06-28 01:59:49 +0500 |
| commit | 61e5bcef2629e2d68b805a956a96fff264d4f74d (patch) | |
| tree | bca3a94bac79d34e3c0db57c77604f5a823ecbda /deps/include/glm/ext/matrix_common.inl | |
| parent | 88c01588aa0830e219eaa62588839e4d1e2883ce (diff) | |
| download | voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.tar.bz2 voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.zip | |
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)
Diffstat (limited to 'deps/include/glm/ext/matrix_common.inl')
| -rw-r--r-- | deps/include/glm/ext/matrix_common.inl | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/deps/include/glm/ext/matrix_common.inl b/deps/include/glm/ext/matrix_common.inl deleted file mode 100644 index 1be4222..0000000 --- a/deps/include/glm/ext/matrix_common.inl +++ /dev/null @@ -1,34 +0,0 @@ -#include "../matrix.hpp" - -#include "_matrix_vectorize.hpp" - -namespace glm -{ - template<length_t C, length_t R, typename T, typename U, qualifier Q> - GLM_FUNC_QUALIFIER mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, U a) - { - return mat<C, R, U, Q>(x) * (static_cast<U>(1) - a) + mat<C, R, U, Q>(y) * a; - } - - template<length_t C, length_t R, typename T, typename U, qualifier Q> - GLM_FUNC_QUALIFIER mat<C, R, T, Q> mix(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, mat<C, R, U, Q> const& a) - { - return matrixCompMult(mat<C, R, U, Q>(x), static_cast<U>(1) - a) + matrixCompMult(mat<C, R, U, Q>(y), a); - } - - template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> - struct compute_abs_matrix - { - GLM_FUNC_QUALIFIER GLM_CONSTEXPR static mat<C, R, T, Q> call(mat<C, R, T, Q> const& x) - { - return detail::matrix_functor_1<mat, C, R, T, T, Q>::call(abs, x); - } - }; - - template<length_t C, length_t R, typename T, qualifier Q> - GLM_FUNC_DECL GLM_CONSTEXPR mat<C, R, T, Q> abs(mat<C, R, T, Q> const& x) - { - return compute_abs_matrix<C, R, T, Q, detail::is_aligned<Q>::value>::call(x); - } - -}//namespace glm |
