]> git.mxchange.org Git - flightgear.git/blob - Astro/sky.hxx
3b8e4634e8ac1e7a8bf27604cd761e4daccf5d64
[flightgear.git] / Astro / sky.hxx
1 /**************************************************************************
2  * sky.hxx -- model sky with an upside down "bowl"
3  *
4  * Written by Curtis Olson, started December 1997.
5  *
6  * Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of the
11  * License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  * $Id$
23  * (Log is kept at end of this file)
24  **************************************************************************/
25
26
27 #ifndef _SKY_HXX
28 #define _SKY_HXX
29
30
31 #ifndef __cplusplus                                                          
32 # error This library requires C++
33 #endif                                   
34
35
36 /* (Re)generate the display list */
37 void fgSkyInit( void );
38
39 /* (Re)calculate the sky colors at each vertex */
40 void fgSkyColorsInit( void );
41
42 /* Draw the Sky */
43 void fgSkyRender( void );
44
45
46 #endif /* _SKY_HXX */
47
48
49 /* $Log$
50 /* Revision 1.1  1998/04/22 13:21:33  curt
51 /* C++ - ifing the code a bit.
52 /*
53  * Revision 1.4  1998/04/21 17:02:32  curt
54  * Prepairing for C++ integration.
55  *
56  * Revision 1.3  1998/01/22 02:59:28  curt
57  * Changed #ifdef FILE_H to #ifdef _FILE_H
58  *
59  * Revision 1.2  1998/01/19 18:40:17  curt
60  * Tons of little changes to clean up the code and to remove fatal errors
61  * when building with the c++ compiler.
62  *
63  * Revision 1.1  1998/01/07 03:16:19  curt
64  * Moved from .../Src/Scenery/ to .../Src/Astro/
65  *
66  * Revision 1.2  1997/12/22 23:45:49  curt
67  * First stab at sunset/sunrise sky glow effects.
68  *
69  * Revision 1.1  1997/12/17 23:14:31  curt
70  * Initial revision.
71  * Begin work on rendering the sky. (Rather than just using a clear screen.)
72  *
73  */