summaryrefslogtreecommitdiffstats
path: root/external/include/glm/detail/func_exponential_simd.inl
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
commit2877f4eda3d1b0c7431039e3142ecf1a282a34b1 (patch)
tree58ad35e27ab2a3b8955f5adbf28f296670681ffc /external/include/glm/detail/func_exponential_simd.inl
parentSmooth sun movement (diff)
downloadAltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.gz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.bz2
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.lz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.xz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.zst
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.zip
Diffstat (limited to '')
-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