Changeset 6501 for code/trunk/src/modules
- Timestamp:
- Mar 11, 2010, 11:32:01 AM (15 years ago)
- Location:
- code/trunk/src/modules/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/objects/Planet.cc
r5929 r6501 91 91 float scaleFactor = this->getScale(); 92 92 93 this->distList.push_back(10.0f*scaleFactor); 94 this->distList.push_back(19.0f*scaleFactor); 95 this->distList.push_back(27.0f*scaleFactor); 96 this->distList.push_back(34.0f*scaleFactor); 97 this->distList.push_back(40.0f*scaleFactor); 98 this->distList.push_back(45.0f*scaleFactor); 99 this->distList.push_back(49.0f*scaleFactor); 100 this->distList.push_back(52.0f*scaleFactor); 101 this->distList.push_back(54.0f*scaleFactor); 102 this->distList.push_back(55.0f*scaleFactor); 93 #if OGRE_VERSION >= 0x010700 94 Ogre::Mesh::LodValueList distList; 95 #else 96 Ogre::Mesh::LodDistanceList distList; 97 #endif 98 99 distList.push_back(10.0f*scaleFactor); 100 distList.push_back(19.0f*scaleFactor); 101 distList.push_back(27.0f*scaleFactor); 102 distList.push_back(34.0f*scaleFactor); 103 distList.push_back(40.0f*scaleFactor); 104 distList.push_back(45.0f*scaleFactor); 105 distList.push_back(49.0f*scaleFactor); 106 distList.push_back(52.0f*scaleFactor); 107 distList.push_back(54.0f*scaleFactor); 108 distList.push_back(55.0f*scaleFactor); 103 109 104 110 float reductionValue = 0.2f; -
code/trunk/src/modules/objects/Planet.h
r5781 r6501 106 106 float atmosphereSize; 107 107 float imageSize; 108 std::vector<float> distList;109 108 BillboardSet billboard_; 110 109 bool bCastShadows_;
Note: See TracChangeset
for help on using the changeset viewer.