From ad8ba2db29c0f3abecb292b1059dad554bf7f3b5 Mon Sep 17 00:00:00 2001 From: axtloss Date: Tue, 28 May 2024 14:30:34 +0200 Subject: add geoclue and glib date --- src/sun.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/sun.h') diff --git a/src/sun.h b/src/sun.h index 0eeb187..9a571e8 100644 --- a/src/sun.h +++ b/src/sun.h @@ -1,2 +1,5 @@ -float calculateSunrise(int year,int month,int day,float lat, float lng,int localOffset); -float calculateSunset(int year,int month,int day,float lat, float lng,int localOffset); +float to_rad (float n); +float to_deg (float n); + +float calculateSun(int year,int month,int day,float lat, float lng,int localOffset, int sunset); + -- cgit v1.2.3