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/ImageOps.c

    r18375 r19823  
    6565        if ((j == 0) && (r < Rmin)) flipped = TRUE;
    6666        if ((j == 0) && (r > Rmax)) flipped = TRUE;
     67        r = ohana_normalize_angle (r);
    6768        while (flipped && (r < Rmid)) r+= 360.0;
    6869        while (flipped && (r > Rmid)) r-= 360.0;
Note: See TracChangeset for help on using the changeset viewer.