mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed mix for vec4 SSE implementation, issue #33
This commit is contained in:
parent
37e380ca9b
commit
43a9e450fd
@ -452,7 +452,7 @@ GLM_FUNC_QUALIFIER detail::fvec4SIMD mix
|
||||
{
|
||||
__m128 Sub0 = _mm_sub_ps(y.Data, x.Data);
|
||||
__m128 Mul0 = _mm_mul_ps(a.Data, Sub0);
|
||||
return _mm_mul_ps(x.Data, Mul0);
|
||||
return _mm_add_ps(x.Data, Mul0);
|
||||
}
|
||||
|
||||
GLM_FUNC_QUALIFIER detail::fvec4SIMD step
|
||||
|
Loading…
Reference in New Issue
Block a user