diff -r 907a634e5c02 -r ce6abe0aeeae src/shapes.cc --- a/src/shapes.cc Sun Apr 27 14:19:37 2008 +0200 +++ b/src/shapes.cc Sun Apr 27 19:56:23 2008 +0200 @@ -377,15 +377,15 @@ const __m128 beta = _mm_add_ps(_mm_mul_ps(hv, _mm_set_ps1(bnu)), _mm_mul_ps(hu, _mm_set_ps1(bnv))); - mask = _mm_and_ps(mask, _mm_cmpge_ps(beta, zeros)); + mask = _mm_and_ps(mask, _mm_cmpge_ps(beta, mZero)); if (!_mm_movemask_ps(mask)) return mask; const __m128 gamma = _mm_add_ps(_mm_mul_ps(hu, _mm_set_ps1(cnv)), _mm_mul_ps(hv, _mm_set_ps1(cnu))); - mask = _mm_and_ps(mask, _mm_and_ps(_mm_cmpge_ps(gamma, zeros), - _mm_cmple_ps(_mm_add_ps(beta, gamma), ones))); + mask = _mm_and_ps(mask, _mm_and_ps(_mm_cmpge_ps(gamma, mZero), + _mm_cmple_ps(_mm_add_ps(beta, gamma), mOne))); if (!_mm_movemask_ps(mask)) return mask;