Commit d7f153483c5c6bdb2557b2b19ee90d92f856fbd6
1 parent
287d5712
Exists in
master
and in
81 other branches
theta +90
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
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 | ... | ... |