Changeset 20729
- Timestamp:
- Nov 13, 2008, 2:21:54 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/warpedpixels.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/warpedpixels.c
r20665 r20729 122 122 #endif 123 123 // Now set the touched pixels 124 int ymin = fmax(0, pt[1].y );125 int ymax = fmin(pt[3].y + .5, sf->warpedPixels->numRows - 1);126 #if def DEBUG_PRINT124 int ymin = fmax(0, pt[1].y ); 125 int ymax = fmin(pt[3].y + 0.5, sf->warpedPixels->numRows - 1); 126 #if (DEBUG_PRINT > 1) 127 127 printf("\nymin: %d ymax: %d\n", ymin, ymax); 128 128 #endif … … 143 143 xright = sf->warpedPixels->numCols - 1; 144 144 } 145 #if def DEBUG_PRINT145 #if (DEBUG_PRINT > 1) 146 146 printf(" y: %d xleft: %d xright: %d\n", y, xleft, xright); 147 147 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
