IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2008, 8:08:31 AM (18 years ago)
Author:
eugene
Message:

replace poor code with ohana_normalize_angle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/aregion.c

    r7917 r19823  
    99  int i, NBigDec, NLINES, done;
    1010 
    11   while (ra < 0) { ra += 360.0; }
    12   while (ra >= 360.0) { ra -= 360.0; }
     11  ra = ohana_normalize_angle (ra);
    1312
    1413  if (dec >= 86.25) {
Note: See TracChangeset for help on using the changeset viewer.