Ignore:
Timestamp:
01/18/08 17:06:02 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc

    r8376 r8818  
    271271void MGSkyPosition::SetDot(TArc *arc, const RaDec &radec, Int_t off)
    272272{
    273     RaDec rd(radec.Ra()+off*360/24*kDeg2Rad, radec.Dec());
     273    RaDec rd(radec.Ra()+off*360/24*TMath::DegToRad(), radec.Dec());
    274274    ZdAz zdaz = fSlaStar->CalcZdAzFast(rd);
    275275
     
    294294    static int Ry=~0;
    295295
    296     const float rad = az*kDeg2Rad;    // [rad]
     296    const float rad = az*TMath::DegToRad();    // [rad]
    297297
    298298    const float s = sin(rad);
     
    379379    UpdateStars();
    380380
    381     RaDec radec = fSlaStar->CalcRaDecFast(pos*kDeg2Rad);
     381    RaDec radec = fSlaStar->CalcRaDecFast(pos*TMath::DegToRad());
    382382    UpdatePosition(radec, pos.Zd(), pos.Az());
    383383    UpdateText(pos.Zd(), pos.Az());
Note: See TracChangeset for help on using the changeset viewer.