Intialize to prevent a 'may be used uninitialized' warning

This commit is contained in:
Erik Hofman
2011-12-19 15:28:11 +01:00
parent 052ce499c9
commit f9332b813e

View File

@@ -213,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;