Ignore:
Timestamp:
12/12/01 13:26:34 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r921 r1111  
    1717#include "coord.h"
    1818#include "SlaPlanets.h"
     19
     20ClassImp(MGSkyPosition);
    1921
    2022void MGSkyPosition::InitPlanets()
     
    208210    static int Ry=~0;
    209211
    210     const float rad = D2PI*az/360.0;
     212    const float rad = az*kDeg2Rad;
    211213
    212214    const float s = sin(rad);
     
    306308    const float c = cos(zdaz.Az());
    307309
    308     const float deg = 360.0/D2PI*zdaz.Zd();
     310    const float deg = zdaz.Zd()*kRad2Deg;
    309311
    310312    const float x = s*deg;
Note: See TracChangeset for help on using the changeset viewer.