We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cdba8f commit b284bb4Copy full SHA for b284bb4
1 file changed
src/core/modules/GridLinesMgr.cpp
@@ -1315,11 +1315,11 @@ void SkyLine::draw(StelCore *core) const
1315
double step;
1316
if(i<81||i>268)
1317
{
1318
- step = 1.0*M_PI/178.;
+ step = 1.0*M_PI/(daysOfYear - 187.);
1319
}
1320
else
1321
1322
- step = 1.0*M_PI/(daysOfYear - 178.);
+ step = 1.0*M_PI/187.;
1323
1324
const Mat4d& rotZ1 = Mat4d::rotation(partZAxis, step);
1325
partNewYear.transfo4d(rotZ1);
0 commit comments