Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 9:33:09 AM (14 years ago)
Author:
rgrieder
Message:

Removed some tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/graphics/MeshLodInformation.cc

    r7036 r7039  
    4141
    4242    MeshLodInformation::MeshLodInformation(BaseObject* creator)
    43         : BaseObject(creator), lodLevel_(5), bEnabled_(true), numLevels_(10), reductionRate_(0.15)
     43    : BaseObject(creator), lodLevel_(5), bEnabled_(true), numLevels_(10), reductionRate_(0.15)
    4444    {
    4545        RegisterObject(MeshLodInformation);
     
    6262    std::string MeshLodInformation::getMeshName()
    6363    {
    64                 return MeshLodInformation::getMeshSource();
     64        return MeshLodInformation::getMeshSource();
    6565    }
    66        
    67         void MeshLodInformation::setLodLevel(float lodLevel)
    68         {
     66   
     67    void MeshLodInformation::setLodLevel(float lodLevel)
     68    {
    6969        if(lodLevel>=0)
    70                     lodLevel_=lodLevel;
    71         }
    72         float MeshLodInformation::getLodLevel()
    73         {
    74                 return lodLevel_;
    75         }
    76         void MeshLodInformation::setMeshSource(std::string meshSource)
    77         {
    78                 meshSource_ = meshSource;
    79         }
    80         std::string MeshLodInformation::getMeshSource()
    81         {
    82                 return meshSource_;
    83         }
     70            lodLevel_=lodLevel;
     71    }
     72    float MeshLodInformation::getLodLevel()
     73    {
     74        return lodLevel_;
     75    }
     76    void MeshLodInformation::setMeshSource(std::string meshSource)
     77    {
     78        meshSource_ = meshSource;
     79    }
     80    std::string MeshLodInformation::getMeshSource()
     81    {
     82        return meshSource_;
     83    }
    8484 
    8585}
Note: See TracChangeset for help on using the changeset viewer.