IC.azimuth += 360;
else if (IC.azimuth >= 360)
IC.azimuth -= 360;
- }
-
- // cout << "azimuth2 " << IC.azimuth<<endl;
+ // cout << "azimuth2 " << IC.azimuth<<endl;
- IC.elevation = -atan(IC.total_speed_down / sqrt(IC.total_speed_north
+ IC.elevation = -atan(IC.total_speed_down / sqrt(IC.total_speed_north
* IC.total_speed_north + IC.total_speed_east * IC.total_speed_east))
* SG_RADIANS_TO_DEGREES;
+ }
}
void FGSubmodelMgr::updatelat(double lat)
sm_list_iterator end = sm_list.end();
while (sm_list_itr != end) {
- string path = (*sm_list_itr)->_getPath();
+ string path = (*sm_list_itr)->_getSMPath();
if (path.empty()) {
++sm_list_itr;