Changeset 25027 for branches/pap/Ohana/src/opihi/cmd.astro/coord_systems.c
- Timestamp:
- Aug 7, 2009, 4:08:25 PM (17 years ago)
- Location:
- branches/pap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/Ohana
- Property svn:mergeinfo deleted
-
branches/pap/Ohana/src/opihi/cmd.astro/coord_systems.c
r18122 r25027 123 123 // atan2 returns -pi : +pi 124 124 *x = DEG_RAD * atan2 (sin_x, cos_x) + transform->xo; 125 if ((*x) < 0.0) (*x) += 360; 125 if ((*x) < 0.0) (*x) += 360; 126 if ((*x) > 360.0) (*x) -= 360; 126 127 127 128 // should be in range -pi/2 : +pi/2
Note:
See TracChangeset
for help on using the changeset viewer.
