diff options
| author | untodesu <kirill@untode.su> | 2025-03-15 16:22:09 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-03-15 16:22:09 +0500 |
| commit | 3bf42c6ff3805a0d42bbc661794a95ff31bedc26 (patch) | |
| tree | 05049955847504808d6bed2bb7b155f8b03807bb /deps/include/glm/ext/matrix_integer.inl | |
| parent | 02294547dcde0d4ad76e229106702261e9f10a51 (diff) | |
| download | voxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.tar.bz2 voxelius-3bf42c6ff3805a0d42bbc661794a95ff31bedc26.zip | |
Add whatever I was working on for the last month
Diffstat (limited to 'deps/include/glm/ext/matrix_integer.inl')
| -rw-r--r-- | deps/include/glm/ext/matrix_integer.inl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/deps/include/glm/ext/matrix_integer.inl b/deps/include/glm/ext/matrix_integer.inl new file mode 100644 index 0000000..8b377ce --- /dev/null +++ b/deps/include/glm/ext/matrix_integer.inl @@ -0,0 +1,38 @@ +namespace glm{ +namespace detail +{ + template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> + struct compute_matrixCompMult_type<C, R, T, Q, false, Aligned> { + GLM_FUNC_QUALIFIER static mat<C, R, T, Q> call(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y) + { + return detail::compute_matrixCompMult<C, R, T, Q, detail::is_aligned<Q>::value>::call(x, y); + } + }; + + template<length_t DA, length_t DB, typename T, qualifier Q> + struct compute_outerProduct_type<DA, DB, T, Q, false> { + GLM_FUNC_QUALIFIER static typename detail::outerProduct_trait<DA, DB, T, Q>::type call(vec<DA, T, Q> const& c, vec<DB, T, Q> const& r) + { + return detail::compute_outerProduct<DA, DB, T, Q>::call(c, r); + } + }; + + template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> + struct compute_transpose_type<C, R, T, Q, false, Aligned> + { + GLM_FUNC_QUALIFIER static mat<R, C, T, Q> call(mat<C, R, T, Q> const& m) + { + return detail::compute_transpose<C, R, T, Q, detail::is_aligned<Q>::value>::call(m); + } + }; + + template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> + struct compute_determinant_type<C, R, T, Q, false, Aligned>{ + + GLM_FUNC_QUALIFIER static T call(mat<C, R, T, Q> const& m) + { + return detail::compute_determinant<C, R, T, Q, detail::is_aligned<Q>::value>::call(m); + } + }; +}//namespace detail +}//namespace glm |
