Nebula.cpp   Nebula.cpp 
skipping to change at line 137 skipping to change at line 137
{ {
return angularSize>0 ? angularSize * 4 : 1; return angularSize>0 ? angularSize * 4 : 1;
} }
void Nebula::drawHints(StelPainter& sPainter, float maxMagHints) void Nebula::drawHints(StelPainter& sPainter, float maxMagHints)
{ {
if (mag>maxMagHints) if (mag>maxMagHints)
return; return;
glEnable(GL_BLEND); glEnable(GL_BLEND);
glBlendFunc(GL_ONE, GL_ONE); glBlendFunc(GL_ONE, GL_ONE);
float lum = 1.;//qMin(1,4.f/getOnScreenSize(core))*0.8; float lum = 1.f;//qMin(1,4.f/getOnScreenSize(core))*0.8;
sPainter.setColor(circleColor[0]*lum*hintsBrightness, circleColor[1] *lum*hintsBrightness, circleColor[2]*lum*hintsBrightness, 1); sPainter.setColor(circleColor[0]*lum*hintsBrightness, circleColor[1] *lum*hintsBrightness, circleColor[2]*lum*hintsBrightness, 1);
Nebula::texCircle->bind(); Nebula::texCircle->bind();
sPainter.drawSprite2dMode(XY[0], XY[1], 4); sPainter.drawSprite2dMode(XY[0], XY[1], 4);
} }
void Nebula::drawLabel(StelPainter& sPainter, float maxMagLabel) void Nebula::drawLabel(StelPainter& sPainter, float maxMagLabel)
{ {
if (mag>maxMagLabel) if (mag>maxMagLabel)
return; return;
sPainter.setColor(labelColor[0], labelColor[1], labelColor[2], hints Brightness); sPainter.setColor(labelColor[0], labelColor[1], labelColor[2], hints Brightness);
 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/