OctahedronPolygon.cpp   OctahedronPolygon.cpp 
skipping to change at line 94 skipping to change at line 94
QString res("["); QString res("[");
double ra, dec; double ra, dec;
foreach (const EdgeVertex& v, *this) foreach (const EdgeVertex& v, *this)
{ {
//res += QString("[") + v.vertex.toString() + "],"; //res += QString("[") + v.vertex.toString() + "],";
StelUtils::rectToSphe(&ra, &dec, v.vertex); StelUtils::rectToSphe(&ra, &dec, v.vertex);
res += QString("[") + QString::number(ra*180./M_PI, 'g', 12) + "," + QString::number(dec*180./M_PI, 'g', 12) + "," + (v.edgeFlag ? QStr ing("true"): QString("false")) + "],"; res += QString("[") + QString::number(ra*180./M_PI, 'g', 12) + "," + QString::number(dec*180./M_PI, 'g', 12) + "," + (v.edgeFlag ? QStr ing("true"): QString("false")) + "],";
} }
res[res.size()-1]=']'; res[res.size()-1]=']';
return res; return res;
}; }
OctahedronPolygon::OctahedronPolygon(const QVector<Vec3d>& contour) : fillC achedVertexArray(StelVertexArray::Triangles), outlineCachedVertexArray(Stel VertexArray::Lines) OctahedronPolygon::OctahedronPolygon(const QVector<Vec3d>& contour) : fillC achedVertexArray(StelVertexArray::Triangles), outlineCachedVertexArray(Stel VertexArray::Lines)
{ {
sides.resize(8); sides.resize(8);
appendSubContour(SubContour(contour)); appendSubContour(SubContour(contour));
tesselate(WindingPositive); tesselate(WindingPositive);
updateVertexArray(); updateVertexArray();
} }
OctahedronPolygon::OctahedronPolygon(const QVector<QVector<Vec3d> >& contou rs) : fillCachedVertexArray(StelVertexArray::Triangles), outlineCachedVerte xArray(StelVertexArray::Lines) OctahedronPolygon::OctahedronPolygon(const QVector<QVector<Vec3d> >& contou rs) : fillCachedVertexArray(StelVertexArray::Triangles), outlineCachedVerte xArray(StelVertexArray::Lines)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/