Changeset 3666 for trunk/stac/src/stacInvertMaps.c
- Timestamp:
- Apr 5, 2005, 11:51:26 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stacInvertMaps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacInvertMaps.c
r3375 r3666 9 9 10 10 psArray *stacInvertMaps(const psArray *maps, // Array of maps to invert 11 const stacConfig *config // Configuration11 int outnx, int outny // Size of output image 12 12 ) 13 13 { … … 48 48 // Create grid of points 49 49 for (int yint = 0; yint < NUM_GRID; yint++) { 50 inCoord->y = (float)(yint * config->outny) / (float)(NUM_GRID - 1);50 inCoord->y = (float)(yint * outny) / (float)(NUM_GRID - 1); 51 51 for (int xint = 0; xint < NUM_GRID; xint++) { 52 inCoord->x = (float)(xint * config->outnx) / (float)(NUM_GRID - 1);52 inCoord->x = (float)(xint * outnx) / (float)(NUM_GRID - 1); 53 53 54 54 (void)psPlaneTransformApply(outCoord, oldMap, inCoord);
Note:
See TracChangeset
for help on using the changeset viewer.
