diff --git a/glm/detail/func_exponential_simd.inl b/glm/detail/func_exponential_simd.inl index fdc5c0df..4b2ef455 100644 --- a/glm/detail/func_exponential_simd.inl +++ b/glm/detail/func_exponential_simd.inl @@ -13,7 +13,7 @@ namespace detail { GLM_FUNC_QUALIFIER static vec<4, float, Q> call(vec<4, float, Q> const& v) { - vec<4, float, P> Result; + vec<4, float, Q> Result; Result.data = _mm_sqrt_ps(v.data); return Result; } diff --git a/glm/detail/func_matrix_simd.inl b/glm/detail/func_matrix_simd.inl index f09c11fe..e76eafff 100644 --- a/glm/detail/func_matrix_simd.inl +++ b/glm/detail/func_matrix_simd.inl @@ -12,7 +12,7 @@ namespace glm{ namespace detail { template - struct compute_matrixCompMult + struct compute_matrixCompMult<4, 4, float, Q, true> { GLM_STATIC_ASSERT(detail::is_aligned

::value, "Specialization requires aligned"); @@ -28,7 +28,7 @@ namespace detail }; template - struct compute_transpose + struct compute_transpose<4, 4, float, Q, true> { GLM_FUNC_QUALIFIER static mat<4, 4, float, Q> call(mat<4, 4, float, Q> const& m) { @@ -41,7 +41,7 @@ namespace detail }; template - struct compute_determinant + struct compute_determinant<4, 4, float, Q, true> { GLM_FUNC_QUALIFIER static float call(mat<4, 4, float, Q> const& m) { @@ -50,7 +50,7 @@ namespace detail }; template - struct compute_inverse + struct compute_inverse<4, 4, float, Q, true> { GLM_FUNC_QUALIFIER static mat<4, 4, float, Q> call(mat<4, 4, float, Q> const& m) {