Changeset 1111 for trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc
- Timestamp:
- 12/12/01 13:26:34 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc
r921 r1111 17 17 #include "coord.h" 18 18 #include "SlaPlanets.h" 19 20 ClassImp(MGSkyPosition); 19 21 20 22 void MGSkyPosition::InitPlanets() … … 208 210 static int Ry=~0; 209 211 210 const float rad = D2PI*az/360.0;212 const float rad = az*kDeg2Rad; 211 213 212 214 const float s = sin(rad); … … 306 308 const float c = cos(zdaz.Az()); 307 309 308 const float deg = 360.0/D2PI*zdaz.Zd();310 const float deg = zdaz.Zd()*kRad2Deg; 309 311 310 312 const float x = s*deg;
Note:
See TracChangeset
for help on using the changeset viewer.