Revision 2844,
418 bytes
checked in by mattausch, 16 years ago
(diff) |
lod starting to work
|
Line | |
---|
1 | #ifndef __LODINFO_H
|
---|
2 | #define __LODINFO_H
|
---|
3 |
|
---|
4 | #include "common.h"
|
---|
5 |
|
---|
6 |
|
---|
7 | namespace CHCDemoEngine
|
---|
8 | {
|
---|
9 |
|
---|
10 | /** Class representing information about an LOD level.
|
---|
11 | */
|
---|
12 | struct LODLevel
|
---|
13 | {
|
---|
14 | public:
|
---|
15 |
|
---|
16 | LODLevel(float squaredDist): mSquaredDistance(squaredDist) {}
|
---|
17 |
|
---|
18 |
|
---|
19 | /// distance of this LOD level
|
---|
20 | float mSquaredDistance;
|
---|
21 | /// shapes belonging to this LOD level
|
---|
22 | ShapeContainer mShapes;
|
---|
23 | };
|
---|
24 |
|
---|
25 | }
|
---|
26 |
|
---|
27 | #endif // __LODINFO_H |
---|
Note: See
TracBrowser
for help on using the repository browser.