55 |
return; |
return; |
56 |
} |
} |
57 |
|
|
58 |
/* we need to fake one row/column of samples outside of the image to |
/* we need to fake one row/column of samples outside of the image to |
59 |
make the boundary look nice */ |
make the boundary look nice */ |
60 |
ix = (x < 0 ? -1 : x); |
ix = (x < 0 ? -1 : x); |
61 |
iy = (y < 0 ? -1 : y); |
iy = (y < 0 ? -1 : y); |
98 |
ix = (x < 0.0f) ? -1 : (int) x; |
ix = (x < 0.0f) ? -1 : (int) x; |
99 |
iy = (y < 0.0f) ? -1 : (int) y; |
iy = (y < 0.0f) ? -1 : (int) y; |
100 |
|
|
101 |
/* we need to fake one row/column of samples outside of the image to |
/* we need to fake one row/column of samples outside of the image to |
102 |
make the boundary look nice */ |
make the boundary look nice */ |
103 |
if (ix >= 0 && iy >= 0) |
if (ix >= 0 && iy >= 0) |
104 |
{ |
{ |