Atmosphere.cpp   Atmosphere.cpp 
skipping to change at line 140 skipping to change at line 140
} }
if (useShader) if (useShader)
{ {
delete atmoShaderProgram; delete atmoShaderProgram;
} }
} }
void Atmosphere::computeColor(double JD, Vec3d _sunPos, Vec3d moonPos, floa t moonPhase, void Atmosphere::computeColor(double JD, Vec3d _sunPos, Vec3d moonPos, floa t moonPhase,
StelCore* core, f loat latitude, float altitude, float temperature, float relativeHumidity) StelCore* core, f loat latitude, float altitude, float temperature, float relativeHumidity)
{ {
const StelProjectorP prj = core->getProjection(StelCore::FrameAltAz) ; const StelProjectorP prj = core->getProjection(StelCore::FrameAltAz, StelCore::RefractionOff);
if (viewport != prj->getViewport()) if (viewport != prj->getViewport())
{ {
// The viewport changed: update the number of point of the g rid // The viewport changed: update the number of point of the g rid
viewport = prj->getViewport(); viewport = prj->getViewport();
if (posGrid) if (posGrid)
delete[] posGrid; delete[] posGrid;
if (colorGrid) if (colorGrid)
delete[] colorGrid; delete[] colorGrid;
if (indices) if (indices)
delete[] indices; delete[] indices;
 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/