]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsimIC.cxx
Updated --help message.
[flightgear.git] / src / FDM / LaRCsimIC.cxx
index 8e629e2b63e7bcd28f29e9ded3f9632ae6d93924..5ec1db499a3021e9e5e7261e87d5a5e307d97797 100644 (file)
 */ 
  
 
+#include <simgear/compiler.h>
+
+#include <math.h>
+#include STL_IOSTREAM
+
 #include "FDM/LaRCsimIC.hxx"
 #include <FDM/LaRCsim/ls_cockpit.h>
 #include <FDM/LaRCsim/ls_generic.h>
 #include <FDM/LaRCsim/atmos_62.h>
 #include <FDM/LaRCsim/ls_constants.h>
 #include <FDM/LaRCsim/ls_geodesy.h>
-#include <math.h>
-#include <iostream>
+
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
+
 
 LaRCsimIC::LaRCsimIC(void) {
   vt=vtg=vw=vc=ve=0;
@@ -97,7 +106,7 @@ void LaRCsimIC::SetClimbRateFpsIC( SCALAR tt) {
     getTheta();
     vdown=-1*hdot;
     cout << "hdot: " << hdot << endl;
-    cout << "gamma: " << gamma*RAD_TO_DEG << endl;
+    cout << "gamma: " << gamma*SGD_RADIANS_TO_DEGREES << endl;
     cout << "vdown: " << vdown << endl;
   }
 }