Changeset 6881 for code/branches/lod/src
- Timestamp:
- May 10, 2010, 4:00:52 PM (15 years ago)
- Location:
- code/branches/lod/src/orxonox/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lod/src/orxonox/graphics/MeshLodInformation.cc
r6877 r6881 62 62 } 63 63 64 void MeshLodInformation::setLodLevel( unsigned int lodLevel)64 void MeshLodInformation::setLodLevel(float lodLevel) 65 65 { 66 lodLevel_=lodLevel; 66 if(lodLevel>=0) 67 lodLevel_=lodLevel; 67 68 } 68 int MeshLodInformation::getLodLevel()69 float MeshLodInformation::getLodLevel() 69 70 { 70 71 return lodLevel_; -
code/branches/lod/src/orxonox/graphics/MeshLodInformation.h
r6838 r6881 41 41 { 42 42 private: 43 void setLodLevel( unsigned int lodLevel);43 void setLodLevel(float lodLevel); 44 44 void setMeshSource(std::string meshSource); 45 45 std::string getMeshSource(); 46 46 std::string meshSource_; 47 int lodLevel_;47 float lodLevel_; 48 48 49 49 public: … … 51 51 virtual ~MeshLodInformation(); 52 52 53 int getLodLevel();53 float getLodLevel(); 54 54 std::string getMeshName(); 55 55
Note: See TracChangeset
for help on using the changeset viewer.