| 1 | namespace glm{ |
| 2 | namespace detail |
| 3 | { |
| 4 | template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> |
| 5 | struct compute_matrixCompMult_type<C, R, T, Q, false, Aligned> { |
| 6 | GLM_FUNC_QUALIFIER static mat<C, R, T, Q> call(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y) |
| 7 | { |
| 8 | return detail::compute_matrixCompMult<C, R, T, Q, detail::is_aligned<Q>::value>::call(x, y); |
| 9 | } |
| 10 | }; |
| 11 | |
| 12 | template<length_t DA, length_t DB, typename T, qualifier Q> |
| 13 | struct compute_outerProduct_type<DA, DB, T, Q, false> { |
| 14 | 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) |
| 15 | { |
| 16 | return detail::compute_outerProduct<DA, DB, T, Q>::call(c, r); |
| 17 | } |
| 18 | }; |
| 19 | |
| 20 | template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> |
| 21 | struct compute_transpose_type<C, R, T, Q, false, Aligned> |
| 22 | { |
| 23 | GLM_FUNC_QUALIFIER static mat<R, C, T, Q> call(mat<C, R, T, Q> const& m) |
| 24 | { |
| 25 | return detail::compute_transpose<C, R, T, Q, detail::is_aligned<Q>::value>::call(m); |
| 26 | } |
| 27 | }; |
| 28 | |
| 29 | template<length_t C, length_t R, typename T, qualifier Q, bool Aligned> |
| 30 | struct compute_determinant_type<C, R, T, Q, false, Aligned>{ |
| 31 | |
| 32 | GLM_FUNC_QUALIFIER static T call(mat<C, R, T, Q> const& m) |
| 33 | { |
| 34 | return detail::compute_determinant<C, R, T, Q, detail::is_aligned<Q>::value>::call(m); |
| 35 | } |
| 36 | }; |
| 37 | }//namespace detail |
| 38 | }//namespace glm |