]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/texcoord.cxx
Make tsync part of libSimGearCore when building shared libraries
[simgear.git] / simgear / misc / texcoord.cxx
index 9246ad54edabbb59d89faa6635830a8da0ffa874..f56a0e7aeeaf4976355829f24c786f4934a60e65 100644 (file)
@@ -149,7 +149,6 @@ enter this in the official comments in case I forget again. :-)
 
 #include "texcoord.hxx"
 
-#include <simgear/math/point3d.hxx>
 // using std::cout;
 // using std::endl;
 
@@ -214,7 +213,8 @@ std::vector<SGVec2f> sgCalcTexCoords( double centerLat, const std::vector<SGGeod
     // cout << "degree_height = " << degree_height << endl;
 
     // find min/max of fan
-    SGVec2f tmin, tmax;
+    SGVec2f tmin(0.0, 0.0);
+    SGVec2f tmax(0.0, 0.0);
     bool first = true;
 
     int i;