Intialize to prevent a 'may be used uninitialized' warning
This commit is contained in:
@@ -213,7 +213,8 @@ std::vector<SGVec2f> sgCalcTexCoords( double centerLat, const std::vector<SGGeod
|
|||||||
// cout << "degree_height = " << degree_height << endl;
|
// cout << "degree_height = " << degree_height << endl;
|
||||||
|
|
||||||
// find min/max of fan
|
// find min/max of fan
|
||||||
SGVec2f tmin, tmax;
|
SGVec2f tmin(0.0, 0.0);
|
||||||
|
SGVec2f tmax(0.0, 0.0);
|
||||||
bool first = true;
|
bool first = true;
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|||||||
Reference in New Issue
Block a user