diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-03-11 12:41:06 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-03-11 12:41:06 -0700 |
commit | 1051220d4b3b09c6cb91d25f9ddfa9eed2ccfd45 (patch) | |
tree | d6c84dd0fe6590eb3b604adf2a8b7cfa56a7be11 /indra/llmath/llmatrix4a.h | |
parent | f061b2b90e34d74b9c6db3606babb0402473a24d (diff) | |
parent | 4658280ddf979b877e5cf64f091156f89b89f9f7 (diff) |
Merged vwr-cat..#$%$% whitespace diffs
Diffstat (limited to 'indra/llmath/llmatrix4a.h')
-rw-r--r-- | indra/llmath/llmatrix4a.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/llmath/llmatrix4a.h b/indra/llmath/llmatrix4a.h index c4cefdb4fa..d141298f69 100644 --- a/indra/llmath/llmatrix4a.h +++ b/indra/llmath/llmatrix4a.h @@ -107,15 +107,14 @@ public: inline void rotate(const LLVector4a& v, LLVector4a& res) { + LLVector4a y,z; + res = _mm_shuffle_ps(v, v, _MM_SHUFFLE(0, 0, 0, 0)); - res.mul(mMatrix[0]); - - LLVector4a y; y = _mm_shuffle_ps(v, v, _MM_SHUFFLE(1, 1, 1, 1)); - y.mul(mMatrix[1]); - - LLVector4a z; z = _mm_shuffle_ps(v, v, _MM_SHUFFLE(2, 2, 2, 2)); + + res.mul(mMatrix[0]); + y.mul(mMatrix[1]); z.mul(mMatrix[2]); res.add(y); |