MeteorShowers.cpp   MeteorShowers.cpp 
skipping to change at line 84 skipping to change at line 84
Vec3d screenpos; Vec3d screenpos;
StelPainter painter(core->getProjection(StelCore::FrameJ2000)); StelPainter painter(core->getProjection(StelCore::FrameJ2000));
if (!painter.getProjector()->project(pos, screenpos)) if (!painter.getProjector()->project(pos, screenpos))
{ {
return; return;
} }
const Vec3f& c(obj->getInfoColor()); const Vec3f& c(obj->getInfoColor());
painter.setColor(c[0],c[1],c[2]); painter.setColor(c[0],c[1],c[2]);
m_mgr->getPointerTexture()->bind(); m_mgr->getPointerTexture()->bind();
painter.enableTexture2d(true);
glEnable(GL_BLEND); painter.setBlending(true);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); // Normal transpa
rency mode
float size = obj->getAngularSize(core) * M_PI / 180. * painter.getPr ojector()->getPixelPerRadAtCenter(); float size = obj->getAngularSize(core) * M_PI / 180. * painter.getPr ojector()->getPixelPerRadAtCenter();
size += 20.f + 10.f * qSin(2.f * StelApp::getInstance().getTotalRunT ime()); size += 20.f + 10.f * qSin(2.f * StelApp::getInstance().getTotalRunT ime());
painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]-size/2, 1 0.f, 90); painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]-size/2, 1 0.f, 90);
painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]+size/2, 1 0.f, 0); painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]+size/2, 1 0.f, 0);
painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]+size/2, 1 0.f, -90); painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]+size/2, 1 0.f, -90);
painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]-size/2, 1 0.f, -180); painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]-size/2, 1 0.f, -180);
painter.setColor(1, 1, 1, 0); painter.setColor(1, 1, 1, 0);
} }
 End of changes. 1 change blocks. 
4 lines changed or deleted 2 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/