trying to iron out some gcc warnings

This commit is contained in:
Gilbert Bernstein
2013-02-07 18:35:22 -08:00
parent a269ecc22b
commit 26fefbad7c
+2 -1
View File
@@ -130,7 +130,8 @@ inline bool read_vertex(ifstream &in, Vec3d &data)
bool result = read_float32(in, temp.x) &&
read_float32(in, temp.y) &&
read_float32(in, temp.z);
data = temp; // coercion from float to double here
if(result)
data = temp; // coercion from float to double here
return result;
}