- Added quaternion version of isnan and isinf #521

This commit is contained in:
Christophe Riccio
2016-07-17 01:02:30 +02:00
parent 21a9d4ce18
commit dc89797275
4 changed files with 41 additions and 1 deletions

View File

@@ -1212,7 +1212,7 @@ int main()
glm::int32 const c(1);
glm::int32 const d = ~c;
# if GLM_ARCH & GLM_ARCH_AVX_BIT
# if GLM_ARCH & GLM_ARCH_AVX_BIT && GLM_HAS_UNRESTRICTED_UNIONS
glm_vec4 const A = _mm_set_ps(4, 3, 2, 1);
glm_vec4 const B = glm_vec4_swizzle_xyzw(A);
glm_vec4 const C = _mm_permute_ps(A, _MM_SHUFFLE(3, 2, 1, 0));