- Timestamp:
- May 31, 2010, 9:02:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.h
r7020 r7036 47 47 std::string getMeshName(); 48 48 bool getEnabled(){ return this->bEnabled_; } 49 unsigned int getNumLevels(){ return this->numLevels_; } 50 float getReductionRate(){ return this->reductionRate_; } 49 51 50 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); … … 53 55 void setLodLevel(float lodLevel); 54 56 void setMeshSource(std::string meshSource); 55 void setEnabled( bool enabled ){ this->bEnabled_ = true; } 57 void setEnabled( bool enabled ){ this->bEnabled_ = enabled; } 58 void setNumLevels( unsigned int num ){ this->numLevels_ = num; } 59 void setReductionRate( float rate ){ this->reductionRate_ = rate; } 56 60 std::string getMeshSource(); 57 61 std::string meshSource_; 58 62 float lodLevel_; 59 63 bool bEnabled_; 64 unsigned int numLevels_; 65 float reductionRate_; 60 66 61 67 };
Note: See TracChangeset
for help on using the changeset viewer.