Category : Science and Education
Archive   : SUNCLOCK.ZIP
Filename : SUNCLOCK.H

 
Output of file : SUNCLOCK.H contained in archive : SUNCLOCK.ZIP
/*
* Sun clock definitions.
*/

#include
#include
#include
#include "bitmaps.h"

#define abs(x) ((x) < 0 ? (-(x)) : x) /* Absolute value */
#define sgn(x) (((x) < 0) ? -1 : ((x) > 0 ? 1 : 0)) /* Extract sign */
#define dtr(x) ((x) * (PI / 180.0)) /* Degree->Radian */
#define rtd(x) ((x) / (PI / 180.0)) /* Radian->Degree */
#define fixangle(a) ((a) - 360.0 * (floor((a) / 360.0))) /* Fix angle */

#define PI 3.14159265358979323846

#define TERMINC 100 /* Circle segments for terminator */

#define PROJINT (60 * 10) /* Frequency of seasonal recalculation
in seconds. */


  3 Responses to “Category : Science and Education
Archive   : SUNCLOCK.ZIP
Filename : SUNCLOCK.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/