From 08bf6e78c9b21e41a553b773749c343d1ef4b200 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Wed, 7 Oct 2015 16:11:23 -0400 Subject: [PATCH] Renamed comp (X|Y|Z|W) template parameters in fvec4SIMD to (X|Y|Z|W)_ --- glm/gtx/simd_vec4.hpp | 10 +++++----- glm/gtx/simd_vec4.inl | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/glm/gtx/simd_vec4.hpp b/glm/gtx/simd_vec4.hpp index 5f5a7e11..3877f821 100644 --- a/glm/gtx/simd_vec4.hpp +++ b/glm/gtx/simd_vec4.hpp @@ -186,15 +186,15 @@ namespace detail ////////////////////////////////////// // Swizzle operators - template + template fvec4SIMD& swizzle(); - template + template fvec4SIMD swizzle() const; - template + template fvec4SIMD swizzle() const; - template + template fvec4SIMD swizzle() const; - template + template fvec4SIMD swizzle() const; }; }//namespace detail diff --git a/glm/gtx/simd_vec4.inl b/glm/gtx/simd_vec4.inl index 08ca10f9..b1413eea 100644 --- a/glm/gtx/simd_vec4.inl +++ b/glm/gtx/simd_vec4.inl @@ -186,21 +186,21 @@ GLM_FUNC_QUALIFIER fvec4SIMD& fvec4SIMD::operator--() ////////////////////////////////////// // Swizzle operators -template +template GLM_FUNC_QUALIFIER fvec4SIMD fvec4SIMD::swizzle() const { __m128 Data = _mm_shuffle_ps( this->Data, this->Data, - shuffle_mask<(W << 6) | (Z << 4) | (Y << 2) | (X << 0)>::value); + shuffle_mask<(W_ << 6) | (Z_ << 4) | (Y_ << 2) | (X_ << 0)>::value); return fvec4SIMD(Data); } -template +template GLM_FUNC_QUALIFIER fvec4SIMD& fvec4SIMD::swizzle() { this->Data = _mm_shuffle_ps( this->Data, this->Data, - shuffle_mask<(W << 6) | (Z << 4) | (Y << 2) | (X << 0)>::value); + shuffle_mask<(W_ << 6) | (Z_ << 4) | (Y_ << 2) | (X_ << 0)>::value); return *this; }