]> git.mxchange.org Git - flightgear.git/blob - src/Scenery/design
Fix stray back-button in Qt launcher
[flightgear.git] / src / Scenery / design
1 (x) class fgOBJECT {
2     // material property pointer
3     int material_ptr;
4
5     // culling data
6     double ref[3];
7     double radius;
8
9     // OpenGL display list for object data
10     GLint display_list_ptr;
11 }
12
13
14 (x) class fgTILE {
15     // culling data
16     double ref[3];
17     double radius;
18
19     list < fgOBJECT > object_list;
20 }
21
22
23 class fgMATERIAL {
24     int list_size;
25     int counter;
26
27 public:
28
29     // material properties
30     GLfloat ambient[4], diffuse[4], specular[4];
31     GLint texture_ptr;
32
33     // transient list of objects with this material type (used for sorting
34     // by material to reduce GL state changes when rendering the scene
35     fgOBJECT *material_object_list[lots];
36
37     init_list();
38     append_list();
39     list_traverse_init();
40     next_obj()
41 }
42
43
44 class fgMATERIAL_MGR {
45     list < fgMATERIAL > material_list;
46 }