]> git.mxchange.org Git - flightgear.git/blob - Scenery/moon.h
b23ae4e3bd90386b33a965da678b4093d4c1c80d
[flightgear.git] / Scenery / moon.h
1 /**************************************************************************
2  * moon.h
3  *
4  * Written 1997 by Durk Talsma, started October, 1997.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  *
20  * $Id$
21  * (Log is kept at end of this file)
22  **************************************************************************/
23
24
25 #ifndef _MOON_H_
26 #define _MOON_H_
27
28
29 #include "orbits.h"
30
31 #include "../Time/fg_time.h"
32
33
34  /* Initialize the Moon Display management Subsystem */
35 void fgMoonInit();
36
37 /* Draw the Stars */
38 void fgMoonRender();
39
40 struct CelestialCoord fgCalculateMoon(struct OrbElements Params,
41                                       struct OrbElements sunParams,
42                                       struct fgTIME t);
43
44 extern struct OrbElements pltOrbElements[9];
45
46
47 #endif /* _MOON_H_ */
48
49
50 /* $Log$
51 /* Revision 1.2  1997/10/25 03:24:23  curt
52 /* Incorporated sun, moon, and star positioning code contributed by Durk Talsma.
53 /*
54  * Revision 1.1  1997/10/25 03:16:09  curt
55  * Initial revision of code contributed by Durk Talsma.
56  *
57  */