MilkyWay.cpp   MilkyWay.cpp 
skipping to change at line 82 skipping to change at line 82
skySphere = StelGeometryBuilder().buildSphereUnlit(params); skySphere = StelGeometryBuilder().buildSphereUnlit(params);
} }
void MilkyWay::update(double deltaTime) {fader->update((int)(deltaTime*1000 ));} void MilkyWay::update(double deltaTime) {fader->update((int)(deltaTime*1000 ));}
void MilkyWay::setFlagShow(bool b){*fader = b;} void MilkyWay::setFlagShow(bool b){*fader = b;}
bool MilkyWay::getFlagShow() const {return *fader;} bool MilkyWay::getFlagShow() const {return *fader;}
void MilkyWay::draw(StelCore* core, class StelRenderer* renderer) void MilkyWay::draw(StelCore* core, class StelRenderer* renderer)
{ {
if (!getFlagShow())
return;
StelProjector::ModelViewTranformP transfo = core->getJ2000ModelViewT ransform(); StelProjector::ModelViewTranformP transfo = core->getJ2000ModelViewT ransform();
transfo->combine(Mat4d::xrotation(M_PI/180.*23.)* transfo->combine(Mat4d::xrotation(M_PI/180.*23.)*
Mat4d::yrotation(M_PI/180.*120.)* Mat4d::yrotation(M_PI/180.*120.)*
Mat4d::zrotation(M_PI/180.*7.)); Mat4d::zrotation(M_PI/180.*7.));
if(NULL == tex) if(NULL == tex)
{ {
tex = renderer->createTexture("textures/milkyway.png"); tex = renderer->createTexture("textures/milkyway.png");
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 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/