Changeset 8818 for trunk/MagicSoft/Cosy/gui
- Timestamp:
- 01/18/08 17:06:02 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc
r8376 r8818 271 271 void MGSkyPosition::SetDot(TArc *arc, const RaDec &radec, Int_t off) 272 272 { 273 RaDec rd(radec.Ra()+off*360/24* kDeg2Rad, radec.Dec());273 RaDec rd(radec.Ra()+off*360/24*TMath::DegToRad(), radec.Dec()); 274 274 ZdAz zdaz = fSlaStar->CalcZdAzFast(rd); 275 275 … … 294 294 static int Ry=~0; 295 295 296 const float rad = az* kDeg2Rad; // [rad]296 const float rad = az*TMath::DegToRad(); // [rad] 297 297 298 298 const float s = sin(rad); … … 379 379 UpdateStars(); 380 380 381 RaDec radec = fSlaStar->CalcRaDecFast(pos* kDeg2Rad);381 RaDec radec = fSlaStar->CalcRaDecFast(pos*TMath::DegToRad()); 382 382 UpdatePosition(radec, pos.Zd(), pos.Az()); 383 383 UpdateText(pos.Zd(), pos.Az());
Note:
See TracChangeset
for help on using the changeset viewer.