StelCore.cpp   StelCore.cpp 
skipping to change at line 193 skipping to change at line 193
break; break;
case ProjectionEqualArea: case ProjectionEqualArea:
prj = StelProjectorP(new StelProjectorEqualArea(mode lViewMat)); prj = StelProjectorP(new StelProjectorEqualArea(mode lViewMat));
break; break;
case ProjectionStereographic: case ProjectionStereographic:
prj = StelProjectorP(new StelProjectorStereographic( modelViewMat)); prj = StelProjectorP(new StelProjectorStereographic( modelViewMat));
break; break;
case ProjectionFisheye: case ProjectionFisheye:
prj = StelProjectorP(new StelProjectorFisheye(modelV iewMat)); prj = StelProjectorP(new StelProjectorFisheye(modelV iewMat));
break; break;
case ProjectionHammer:
prj = StelProjectorP(new StelProjectorHammer(modelVi
ewMat));
break;
case ProjectionCylinder: case ProjectionCylinder:
prj = StelProjectorP(new StelProjectorCylinder(model ViewMat)); prj = StelProjectorP(new StelProjectorCylinder(model ViewMat));
break; break;
case ProjectionMercator: case ProjectionMercator:
prj = StelProjectorP(new StelProjectorMercator(model ViewMat)); prj = StelProjectorP(new StelProjectorMercator(model ViewMat));
break; break;
case ProjectionOrthographic: case ProjectionOrthographic:
prj = StelProjectorP(new StelProjectorOrthographic(m odelViewMat)); prj = StelProjectorP(new StelProjectorOrthographic(m odelViewMat));
break; break;
default: default:
skipping to change at line 278 skipping to change at line 281
*************************************************************************/ *************************************************************************/
void StelCore::preDraw() void StelCore::preDraw()
{ {
// Init openGL viewing with fov, screen size and clip planes // Init openGL viewing with fov, screen size and clip planes
currentProjectorParams.zNear = 0.000001; currentProjectorParams.zNear = 0.000001;
currentProjectorParams.zFar = 50.; currentProjectorParams.zFar = 50.;
skyDrawer->preDraw(); skyDrawer->preDraw();
// Clear areas not redrawn by main viewport (i.e. fisheye square vie wport) // Clear areas not redrawn by main viewport (i.e. fisheye square vie wport)
glClearColor(0,0,0,0);
glClear(GL_COLOR_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT);
} }
/************************************************************************* /*************************************************************************
Update core state after drawing modules Update core state after drawing modules
*************************************************************************/ *************************************************************************/
void StelCore::postDraw() void StelCore::postDraw()
{ {
StelPainter sPainter(getProjection(StelCore::FrameJ2000)); StelPainter sPainter(getProjection(StelCore::FrameJ2000));
sPainter.drawViewportShape(); sPainter.drawViewportShape();
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 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/