Changeset 6909 for code/branches/lod/src/orxonox
- Timestamp:
- May 17, 2010, 3:21:51 PM (15 years ago)
- Location:
- code/branches/lod/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lod/src/orxonox/Level.cc
r6877 r6909 49 49 RegisterObject(Level); 50 50 51 51 52 this->registerVariables(); 52 53 this->xmlfilename_ = this->getFilename(); -
code/branches/lod/src/orxonox/graphics/Model.cc
r6877 r6909 49 49 50 50 this->registerVariables(); 51 //LoD 52 this->lodLevel_=5; 51 53 } 52 54 -
code/branches/lod/src/orxonox/graphics/Model.h
r6843 r6909 67 67 68 68 //LoD 69 inline void setLodLevel( unsigned short lodLevel)69 inline void setLodLevel(float lodLevel) 70 70 { this->lodLevel_ = lodLevel; } 71 inline unsigned short getLodLevel() const71 inline float getLodLevel() const 72 72 { return this->lodLevel_; } 73 73 float Model::getBiggestScale(Vector3 scale3d); … … 78 78 79 79 //LoD 80 unsigned short lodLevel_;80 float lodLevel_; 81 81 }; 82 82 }
Note: See TracChangeset
for help on using the changeset viewer.