Changeset 3498


Ignore:
Timestamp:
03/15/04 13:11:14 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3497 r3498  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21
     22
     23 2004/03/15: Wolfgang Wittek
     24
     25   * mastro/MObservatory.[h,cc]
     26     - remove bugs in RotationAngle(theta, phi, sin, cos)
     27
     28
    2029 2004/03/15: Thomas Bretz
    2130
  • trunk/MagicSoft/Mars/mastro/MObservatory.cc

    r3497 r3498  
    138138    const Double_t denom = TMath::Sqrt(v1*v1 + v2*v2);
    139139
    140     sin = (fCosLatitude*sinp) / denom;
    141     cos = sinl + cosl*cosp / denom;
     140    sin =  fCosLatitude*sinp / denom;
     141    cos = (sinl - cosl*cosp) / denom;
    142142}
    143143
Note: See TracChangeset for help on using the changeset viewer.