diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-11 13:55:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-11 13:55:44 +0200 |
commit | c499f1475f1c37c6d83985320a9e98a3d2711a2b (patch) | |
tree | 8ceaa6bc1d5deb40b7c5fc998041ecd63ad122d9 /thirdparty/bullet/LinearMath/btVector3.h | |
parent | f0bacf360dbb6ce3781356438b2fa7067250d27c (diff) | |
parent | 99acec63f175fecd7172c927263ed3787cb082d6 (diff) |
Merge pull request #29418 from AndreaCatania/upbul
Updated Bullet version to the actual bullet master commit
Diffstat (limited to 'thirdparty/bullet/LinearMath/btVector3.h')
-rw-r--r-- | thirdparty/bullet/LinearMath/btVector3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/bullet/LinearMath/btVector3.h b/thirdparty/bullet/LinearMath/btVector3.h index 61fd8d1e46..d65ed9808d 100644 --- a/thirdparty/bullet/LinearMath/btVector3.h +++ b/thirdparty/bullet/LinearMath/btVector3.h @@ -36,7 +36,7 @@ subject to the following restrictions: #pragma warning(disable : 4556) // value of intrinsic immediate argument '4294967239' is out of range '0 - 255' #endif -#define BT_SHUFFLE(x, y, z, w) ((w) << 6 | (z) << 4 | (y) << 2 | (x)) +#define BT_SHUFFLE(x, y, z, w) (((w) << 6 | (z) << 4 | (y) << 2 | (x)) & 0xff) //#define bt_pshufd_ps( _a, _mask ) (__m128) _mm_shuffle_epi32((__m128i)(_a), (_mask) ) #define bt_pshufd_ps(_a, _mask) _mm_shuffle_ps((_a), (_a), (_mask)) #define bt_splat3_ps(_a, _i) bt_pshufd_ps((_a), BT_SHUFFLE(_i, _i, _i, 3)) |