Changeset 27489 for branches/eam_branches/relastro.20100326/src/CoordOps.c
- Timestamp:
- Mar 27, 2010, 10:39:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relastro.20100326/src/CoordOps.c
r27488 r27489 10 10 void initCoords (void) { 11 11 12 images = getImages (&N); 12 off_t N; 13 Image *images; 14 15 images = getimages (&N); 13 16 14 17 NoldCoords = N; … … 32 35 } 33 36 34 Coords getCoords (off_t N) {37 Coords *getCoords (off_t N) { 35 38 36 39 if (N < 0) return NULL; … … 68 71 } 69 72 73 void getOffsets (double *dPos, off_t *nPos, off_t N) { 74 75 if (N < 0) return; 76 if (N >= NoldCoords) return; 77 78 *dPos = dPosSum[N]; 79 *nPos = nPosSum[N]; 80 81 return; 82 } 83
Note:
See TracChangeset
for help on using the changeset viewer.
