#include <iostream>
#include <string>
#include <vector>
-#include <Math/point3d.hxx>
-#include <Math/polar3d.hxx>
+#include <simgear/math/point3d.hxx>
+#include <simgear/math/polar3d.hxx>
class CMetarReport
{
// options is too tightly integrated into FlightGear to use in a test program
#include <Main/options.hxx>
#endif
-#include <Misc/fgpath.hxx>
+#include <simgear/misc/fgpath.hxx>
std::vector< CMetarStation *> METAR_Stations;
#include <iostream>
#include <string>
#include <vector>
-#include <Math/point3d.hxx>
-#include <Math/polar3d.hxx>
+#include <simgear/math/point3d.hxx>
+#include <simgear/math/polar3d.hxx>
//using namespace std;
class CMetarStation
Point3D tmin, tmax, p, t;
bool first = true;
- for ( int i = 0; i < (int)fan.size(); ++i ) {
+ int i;
+
+ for ( i = 0; i < (int)fan.size(); ++i ) {
p = geod_nodes[ fan[i] ];
// cout << "point p = " << p << endl;
Point3D adjusted_t;
point_list tex;
tex.clear();
- for ( int i = 0; i < (int)fan.size(); ++i ) {
+ for ( i = 0; i < (int)fan.size(); ++i ) {
p = geod_nodes[ fan[i] ];
t = basic_tex_coord( p, degree_width, degree_height, scale );
// cout << "second t = " << t << endl;