1
0
Fork 0

Vivian MEAZZA: fix subsubmodels

This commit is contained in:
mfranz 2007-08-01 10:44:17 +00:00
parent bf02d9bdd0
commit 7d94177636

View file

@ -487,13 +487,12 @@ void FGSubmodelMgr::transform(submodel *sm)
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)