Changeset 19823 for trunk/Ohana/src/addstar
- Timestamp:
- Oct 2, 2008, 8:08:31 AM (18 years ago)
- Location:
- trunk/Ohana/src/addstar/src
- Files:
-
- 3 edited
-
FilterStars.c (modified) (1 diff)
-
ReadImageHeader.c (modified) (1 diff)
-
grefstars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/FilterStars.c
r16810 r19823 28 28 29 29 XY_to_RD (&stars[N].R, &stars[N].D, stars[N].X, stars[N].Y, &image[0].coords); 30 while (stars[N].R < 0.0) stars[N].R += 360.0; 31 while (stars[N].R >= 360.0) stars[N].R -= 360.0; 30 stars[N].R = ohana_normalize_angle (stars[N].R); 32 31 stars[N].found = -1; 33 32 stars[N].code = image[0].photcode; -
trunk/Ohana/src/addstar/src/ReadImageHeader.c
r19130 r19823 76 76 } else { 77 77 /* force image to lie in 0-360 range */ 78 while (image[0].coords.crval1 < 0) image[0].coords.crval1 += 360.0; 79 while (image[0].coords.crval1 > 360.0) image[0].coords.crval1 -= 360.0; 78 image[0].coords.crval1 = ohana_normalize_angle (image[0].coords.crval1); 80 79 } 81 80 -
trunk/Ohana/src/addstar/src/grefstars.c
r17439 r19823 25 25 dparse (&stars[N].M, 3, line); 26 26 dparse (&stars[N].dM, 4, line); 27 while (stars[N].R < 0.0) stars[N].R += 360.0; 28 while (stars[N].R >= 360.0) stars[N].R -= 360.0; 27 stars[N].R = ohana_normalize_angle (stars[N].R); 29 28 stars[N].t = 0; 30 29 stars[N].code = photcode;
Note:
See TracChangeset
for help on using the changeset viewer.
