]> git.mxchange.org Git - flightgear.git/blob - Scenery/astro.h
Fixed sun vector and lighting problems. I thing the moon is now lit
[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
39
40 /* Initialize Astronomical Objects */
41 void fgAstroInit();
42
43 /* Render Astronomical objects */
44 void fgAstroRender();
45
46
47 #endif /* _ASTRO_H_ */
48
49
50 /* $Log$
51 /* Revision 1.2  1997/12/11 04:43:56  curt
52 /* Fixed sun vector and lighting problems.  I thing the moon is now lit
53 /* correctly.
54 /*
55  * Revision 1.1  1997/11/25 23:20:23  curt
56  * Initial revision.
57  *
58  */