More sunstuff tweaking.

This commit is contained in:
David F. Skoll
2011-12-28 13:14:24 -05:00
parent bd019524dd
commit e380308604
2 changed files with 1461 additions and 1461 deletions

View File

@@ -1902,7 +1902,7 @@ static int SunStuff(int rise, double cosz, int jul)
#if BASE != 1990
#error Sun calculations assume a BASE of 1990!
#endif
M = (0.9856002585 * t) + 356.634856; /* In degrees */
M = (0.9856002585 * t) + 357.828757; /* In degrees */
/* Make sure M is in the range [0, 360) */
M -= (floor(M/360.0) * 360.0);

File diff suppressed because it is too large Load Diff