210 |
|
|
211 |
/* returned values are in degrees, need to convert back to base SI: radians */ |
/* returned values are in degrees, need to convert back to base SI: radians */ |
212 |
outputs[0] = S.zenith * PI/180.; |
outputs[0] = S.zenith * PI/180.; |
213 |
outputs[1] = S.azimuth * PI/180.; |
outputs[1] = S.azimuth180 * PI/180.; |
214 |
|
|
215 |
/* 0 on success, non-zero is error code from spa_calculate (would prob be input parameters out-of-range) */ |
/* 0 on success, non-zero is error code from spa_calculate (would prob be input parameters out-of-range) */ |
216 |
return res; |
return res; |