Revision 1058,
331 bytes
checked in by gumbau, 18 years ago
(diff) |
LODs parameters changed to the range 1-0 (max-min)
|
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; }
|
---|
[1058] | 14 | virtual void GoToLod(Real)=0;
|
---|
[1056] | 15 |
|
---|
| 16 | private:
|
---|
| 17 | uint32 uniqueID;
|
---|
| 18 | };
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.