Skip to content

Commit b284bb4

Browse files
committed
better estimation
1 parent 9cdba8f commit b284bb4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/modules/GridLinesMgr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,11 +1315,11 @@ void SkyLine::draw(StelCore *core) const
13151315
double step;
13161316
if(i<81||i>268)
13171317
{
1318-
step = 1.0*M_PI/178.;
1318+
step = 1.0*M_PI/(daysOfYear - 187.);
13191319
}
13201320
else
13211321
{
1322-
step = 1.0*M_PI/(daysOfYear - 178.);
1322+
step = 1.0*M_PI/187.;
13231323
}
13241324
const Mat4d& rotZ1 = Mat4d::rotation(partZAxis, step);
13251325
partNewYear.transfo4d(rotZ1);

0 commit comments

Comments
 (0)