Movement: Astronomy and Orrery watch faces (#55)

This commit is contained in:
joeycastillo
2022-03-04 14:52:49 -06:00
committed by GitHub
parent ea988208e1
commit ccdf08da87
19 changed files with 4559 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ Released to the public domain by Paul Schlyter, December 1992
#include <math.h>
#include "sunriset.h"
static void sunpos( double d, double *lon, double *r );
/* A macro to compute the number of days elapsed since 2000 Jan 0.0 */
/* (which is equal to 1999 Dec 31, 0h UT) */
@@ -199,7 +200,7 @@ double __daylen__( int year, int month, int day, double lon, double lat,
/* This function computes the Sun's position at any instant */
void sunpos( double d, double *lon, double *r )
static void sunpos( double d, double *lon, double *r )
/******************************************************/
/* Computes the Sun's ecliptic longitude and distance */
/* at an instant given in d, number of days since */

View File

@@ -24,8 +24,6 @@ double __daylen__( int year, int month, int day, double lon, double lat,
int __sunriset__( int year, int month, int day, double lon, double lat,
double altit, int upper_limb, double *rise, double *set );
void sunpos( double d, double *lon, double *r );
void sun_RA_dec( double d, double *RA, double *dec, double *r );
double revolution( double x );