aboutsummaryrefslogtreecommitdiff
path: root/src/sun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sun.h')
-rw-r--r--src/sun.h7
1 files changed, 5 insertions, 2 deletions
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);
+