summaryrefslogtreecommitdiffstats
path: root/external/include/glm/detail/func_exponential_simd.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/detail/func_exponential_simd.inl')
-rw-r--r--external/include/glm/detail/func_exponential_simd.inl24
1 files changed, 12 insertions, 12 deletions
diff --git a/external/include/glm/detail/func_exponential_simd.inl b/external/include/glm/detail/func_exponential_simd.inl
index d7529ba..4b2ef45 100644
--- a/external/include/glm/detail/func_exponential_simd.inl
+++ b/external/include/glm/detail/func_exponential_simd.inl
@@ -8,25 +8,25 @@
namespace glm{
namespace detail
{
- template <precision P>
- struct compute_sqrt<tvec4, float, P, true>
+ template<qualifier Q>
+ struct compute_sqrt<4, float, Q, true>
{
- GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v)
+ GLM_FUNC_QUALIFIER static vec<4, float, Q> call(vec<4, float, Q> const& v)
{
- tvec4<float, P> result(uninitialize);
- result.data = _mm_sqrt_ps(v.data);
- return result;
+ vec<4, float, Q> Result;
+ Result.data = _mm_sqrt_ps(v.data);
+ return Result;
}
};
- template <>
- struct compute_sqrt<tvec4, float, aligned_lowp, true>
+ template<>
+ struct compute_sqrt<4, float, aligned_lowp, true>
{
- GLM_FUNC_QUALIFIER static tvec4<float, aligned_lowp> call(tvec4<float, aligned_lowp> const & v)
+ GLM_FUNC_QUALIFIER static vec<4, float, aligned_lowp> call(vec<4, float, aligned_lowp> const& v)
{
- tvec4<float, aligned_lowp> result(uninitialize);
- result.data = glm_vec4_sqrt_lowp(v.data);
- return result;
+ vec<4, float, aligned_lowp> Result;
+ Result.data = glm_vec4_sqrt_lowp(v.data);
+ return Result;
}
};
}//namespace detail