Created get_sign() function

This commit is contained in:
Gergely Polonkai 2013-07-26 17:01:52 +02:00
parent 0862fe6821
commit 04e684ecc1

View File

@ -230,6 +230,12 @@ set_location_and_time(double lon, double lat, double alt, int year, int month, i
return 1;
}
long int
get_sign(double pos)
{
return (int)ceilf(pos / 30.0);
}
moonPhase *
get_moon_phase(gint year, gint month, gint day, gint hour, gint min, gint sec)
{