source:
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodObject.h
@
1056
Revision 1056, 335 bytes checked in by gumbau, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[1056] | 1 | #ifndef _GEOLODOBJECT |
2 | #define _GEOLODOBJECT | |
3 | ||
4 | namespace Geometry | |
5 | { | |
6 | class LodObject | |
7 | { | |
8 | public: | |
9 | LodObject(void){ | |
10 | static uint32 uniqueIDgen = 0; | |
11 | uniqueID = uniqueIDgen++; | |
12 | } | |
13 | uint32 GetUniqueID(void) const { return uniqueID; } | |
14 | virtual uint32 GoToLod(uint32)=0; | |
15 | ||
16 | private: | |
17 | uint32 uniqueID; | |
18 | }; | |
19 | } | |
20 | ||
21 | #endif |
Note: See TracBrowser
for help on using the repository browser.