]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsimIC.cxx
Initial revision.
[flightgear.git] / src / FDM / LaRCsimIC.cxx
index 69af5ecdd031c35e749c86d06d4c7db497d8e630..5ec1db499a3021e9e5e7261e87d5a5e307d97797 100644 (file)
@@ -28,7 +28,7 @@
 #include <simgear/compiler.h>
 
 #include <math.h>
-#include <iostream>
+#include STL_IOSTREAM
 
 #include "FDM/LaRCsimIC.hxx"
 #include <FDM/LaRCsim/ls_cockpit.h>
 #include <FDM/LaRCsim/ls_constants.h>
 #include <FDM/LaRCsim/ls_geodesy.h>
 
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
 SG_USING_STD(cout);
 SG_USING_STD(endl);
+#endif
 
 
 LaRCsimIC::LaRCsimIC(void) {
@@ -104,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;
   }
 }