# | Line 244 | Line 244 | RGBPRIMS pr | |
---|---|---|
244 | int i; | |
245 | ||
246 | for (i = 0; i < 4; i++) { | |
247 | < | if ((pr[i][CIEX] <= CEPS) | (pr[i][CIEY] <= CEPS)) |
247 | > | if ((pr[i][CIEX] <= -CEPS) | (pr[i][CIEY] <= -CEPS)) |
248 | return(0); | |
249 | < | if ((pr[i][CIEX] >= 1.-CEPS) | (pr[i][CIEY] >= 1.-CEPS)) |
249 | > | if ((pr[i][CIEX] >= 1.+CEPS) | (pr[i][CIEY] >= 1.+CEPS)) |
250 | > | return(0); |
251 | > | if (pr[i][CIEX] + pr[i][CIEY] >= 1.+CEPS) |
252 | return(0); | |
253 | } | |
254 | return(1); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |