StelGeodesicGrid.cpp   StelGeodesicGrid.cpp 
skipping to change at line 123 skipping to change at line 123
} }
StelGeodesicGrid::~StelGeodesicGrid(void) StelGeodesicGrid::~StelGeodesicGrid(void)
{ {
if (maxLevel > 0) if (maxLevel > 0)
{ {
for (int i=maxLevel-1;i>=0;i--) delete[] triangles[i]; for (int i=maxLevel-1;i>=0;i--) delete[] triangles[i];
delete[] triangles; delete[] triangles;
} }
delete cacheSearchResult; delete cacheSearchResult;
cacheSearchResult = NULL; cacheSearchResult = Q_NULLPTR;
} }
void StelGeodesicGrid::getTriangleCorners(int lev,int index, void StelGeodesicGrid::getTriangleCorners(int lev,int index,
Ve c3f &h0, Ve c3f &h0,
Ve c3f &h1, Ve c3f &h1,
Ve c3f &h2) const Ve c3f &h2) const
{ {
if (lev <= 0) if (lev <= 0)
{ {
const int *const corners = icosahedron_triangles[index].corn ers; const int *const corners = icosahedron_triangles[index].corn ers;
 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/