Created get_sign() function
This commit is contained in:
parent
0862fe6821
commit
04e684ecc1
@ -230,6 +230,12 @@ set_location_and_time(double lon, double lat, double alt, int year, int month, i
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long int
|
||||||
|
get_sign(double pos)
|
||||||
|
{
|
||||||
|
return (int)ceilf(pos / 30.0);
|
||||||
|
}
|
||||||
|
|
||||||
moonPhase *
|
moonPhase *
|
||||||
get_moon_phase(gint year, gint month, gint day, gint hour, gint min, gint sec)
|
get_moon_phase(gint year, gint month, gint day, gint hour, gint min, gint sec)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user