From 2877f4eda3d1b0c7431039e3142ecf1a282a34b1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Tue, 21 Aug 2018 20:40:38 +0500 Subject: Update glm to 0.9.9.0 --- external/include/glm/simd/geometric.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external/include/glm/simd/geometric.h') diff --git a/external/include/glm/simd/geometric.h b/external/include/glm/simd/geometric.h index ca53387..07d7cbc 100644 --- a/external/include/glm/simd/geometric.h +++ b/external/include/glm/simd/geometric.h @@ -108,7 +108,7 @@ GLM_FUNC_QUALIFIER __m128 glm_vec4_refract(glm_vec4 I, glm_vec4 N, glm_vec4 eta) glm_vec4 const sub0 = _mm_sub_ps(_mm_set1_ps(1.0f), mul0); glm_vec4 const sub1 = _mm_sub_ps(_mm_set1_ps(1.0f), mul1); glm_vec4 const mul2 = _mm_mul_ps(sub0, sub1); - + if(_mm_movemask_ps(_mm_cmplt_ss(mul2, _mm_set1_ps(0.0f))) == 0) return _mm_set1_ps(0.0f); -- cgit v1.2.3