Changeset 3669 for trunk/stac/src/stacSize.c
- Timestamp:
- Apr 5, 2005, 2:08:16 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stacSize.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacSize.c
r3666 r3669 12 12 int nImages = images->n; // Number of input images 13 13 assert(maps->n == nImages); 14 assert(outnx && outny); // Must be able to write to these 14 15 15 16 psPlane *inCoord = psAlloc(sizeof(psPlane)); // Input coordinates … … 92 93 93 94 // Tweak the maps to account for the offset 94 *xMapDiff = floor(xMin); 95 *yMapDiff = floor(yMin); 95 if (xMapDiff != NULL) { 96 *xMapDiff = floor(xMin); 97 } 98 if (yMapDiff != NULL) { 99 *yMapDiff = floor(yMin); 100 } 96 101 for (int i = 0; i < nImages; i++) { 97 102 psPlaneTransform *map = maps->data[i]; // The map of interest
Note:
See TracChangeset
for help on using the changeset viewer.
