]> git.mxchange.org Git - flightgear.git/blob - Scenery/astro.h
c273d1a846b0491f734d0b884b3d23155c78b718
[flightgear.git] / Scenery / astro.h
1 /**************************************************************************
2  * astro.h
3  *
4  * Written by Durk Talsma. Started November 1997, for use with the flight
5  * gear project.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  *
21  * $Id$
22  * (Log is kept at end of this file)
23  **************************************************************************/
24
25
26 #ifndef _ASTRO_H_
27 #define _ASTRO_H_
28
29 #include <GL/glut.h>
30 #include "stars.h"
31
32 extern struct CelestialCoord
33     moonPos;
34
35 extern float xMoon, yMoon, zMoon, xSun, ySun, zSun;
36 extern GLint moon, sun;
37 extern GLint stars[FG_STAR_LEVELS];
38 extern GLfloat fgClearColor[4];
39
40
41 /* Initialize Astronomical Objects */
42 void fgAstroInit();
43
44 /* Render Astronomical objects */
45 void fgAstroRender();
46
47
48 #endif /* _ASTRO_H_ */
49
50
51 /* $Log$
52 /* Revision 1.1  1997/11/25 23:20:23  curt
53 /* Initial revision.
54 /*
55  */