Commit d7f153483c5c6bdb2557b2b19ee90d92f856fbd6

Authored by Hacene SI HADJ MOHAND
1 parent 287d5712

theta +90

src/ExternLib/Jupiter_JRM09_CAN_81/Jupiter_JRM09_CAN81.hh
... ... @@ -68,7 +68,10 @@ namespace AMDA {
68 68 lVal[0] = std::sqrt(in[0] * in[0] + in[1] * in[1] + in[2] * in[2]);
69 69 if (lVal[0] == 0)
70 70 lVal[0] = 1e-31;
71   - lVal[1] = 90 - std::acos(in[2] / lVal[0])*180 / PI;
  71 + //
  72 + lVal[1] = 180 - std::acos(in[2] / lVal[0])*180 / PI;
  73 + //
  74 +
72 75 lVal[2] = std::atan(in[1] / in[0])*180 / PI;
73 76 double crtTime = _paramInput.getTime(_index);
74 77  
... ...