Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2010, 9:32:58 PM (14 years ago)
Author:
rgrieder
Message:

Removed excess white space at the end of lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/designtools/SkyboxGenerator.cc

    r7039 r7127  
    4646
    4747
    48  
     48
    4949namespace orxonox
    5050{
     
    6868    }
    6969
    70     void SkyboxGenerator::setConfigValues( ) 
     70    void SkyboxGenerator::setConfigValues( )
    7171    {
    7272        SetConfigValue(skyboxPrefix_, "SkyboxFile_");
     
    8383                return;
    8484            }
    85            
     85
    8686            ControllableEntity* ce = HumanController::getLocalControllerSingleton()->getControllableEntity();
    8787            Camera* camera = ce->getCamera();
    8888            assert(ce);
    89        
     89
    9090            Ogre::RenderWindow* w = GraphicsManager::getInstance().getRenderWindow();
    9191
    9292
    93             switch (iterateOverDirections_) 
     93            switch (iterateOverDirections_)
    9494            {
    9595            case 0 :
     
    105105                iterateOverDirections_++;
    106106                break;
    107                
     107
    108108            case 2 :
    109109                w->writeContentsToFile(skyboxPrefix_+"lf.png");
    110                 ce->yaw(Degree(90)); 
     110                ce->yaw(Degree(90));
    111111                iterateOverDirections_++;
    112112                break;
     
    114114            case 3 :
    115115                w->writeContentsToFile(skyboxPrefix_+"bk.png");
    116                 ce->yaw(Degree(90)); 
     116                ce->yaw(Degree(90));
    117117                iterateOverDirections_++;
    118118                break;
     
    120120            case 4 :
    121121                w->writeContentsToFile(skyboxPrefix_+"rt.png");
    122                 ce->yaw(Degree(90)); 
    123                 ce->pitch(Degree(90)); 
     122                ce->yaw(Degree(90));
     123                ce->pitch(Degree(90));
    124124                iterateOverDirections_++;
    125125                break;
     
    127127            case 5 :
    128128                w->writeContentsToFile(skyboxPrefix_+"up.png");
    129                 ce->pitch(Degree(180)); 
     129                ce->pitch(Degree(180));
    130130                iterateOverDirections_++;
    131131                break;
     
    136136                iterateOverDirections_++;
    137137                break;
    138                
     138
    139139            case 7 :
    140140                camera->getOgreCamera()->setAspectRatio(aspectRatio_);
     
    152152    }
    153153
    154     void SkyboxGenerator::createSkybox( ) 
     154    void SkyboxGenerator::createSkybox( )
    155155    {
    156156        SkyboxGenerator::getInstance().takeScreenshot_ = true;
Note: See TracChangeset for help on using the changeset viewer.