]> git.mxchange.org Git - flightgear.git/blob - Scenery/sun.h
Changes to integrate Durk's moon/sun code updates + clean up.
[flightgear.git] / Scenery / sun.h
1 /**************************************************************************
2  * sun.h
3  *
4  * Written 1997 by Durk Talsma, started October, 1997.  For the flight gear
5  * 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 SUN_H
27 #define SUN_H
28
29
30 struct SunPos fgCalcSunPos(struct OrbElements sunParams);
31 extern struct OrbElements pltOrbElements[9];
32 extern GLfloat fgClearColor[4];
33
34 /* Initialize the Sun */
35 void fgSunInit();
36
37 /* Draw the Sun */
38 void fgSunRender();
39
40
41 #endif /* SUN_H */
42
43
44 /* $Log$
45 /* Revision 1.2  1997/11/25 19:25:39  curt
46 /* Changes to integrate Durk's moon/sun code updates + clean up.
47 /*
48  * Revision 1.1  1997/10/25 03:16:12  curt
49  * Initial revision of code contributed by Durk Talsma.
50  *
51  */