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.

Location:
code/branches/presentation3/src/modules/designtools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/designtools/CreateStars.h

    r7028 r7127  
    3232#include "util/Math.h"
    3333#include "core/BaseObject.h"
    34  
     34
    3535namespace orxonox
    3636{
     
    6161            }
    6262
    63             void setColour(const orxonox::ColourValue& colour) { 
     63            void setColour(const orxonox::ColourValue& colour) {
    6464                this->colour_ = colour;
    6565            }
    6666
    67             const ColourValue& getColour() const { 
     67            const ColourValue& getColour() const {
    6868                return this->colour_;
    6969            }
     
    109109                return this->radius_;
    110110            }
    111            
     111
    112112            Vector3 PolarToCartesian(float alpha, float beta, float radius);
    113113
     
    119119            unsigned int radius_;
    120120            float alpha_;
    121             float colourDiff_; 
     121            float colourDiff_;
    122122            float alphaDiff_;
    123123            float radiusDiff_;
    124            
     124
    125125    };
    126126}
  • 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;
  • code/branches/presentation3/src/modules/designtools/SkyboxGenerator.h

    r6994 r7127  
    3232#include "tools/interfaces/Tickable.h"
    3333#include <OgreMath.h>
    34  
    35  
     34
     35
    3636namespace orxonox
    3737{
     
    3939    {
    4040        friend class Singleton<SkyboxGenerator>;
    41    
     41
    4242        public:
    4343            SkyboxGenerator();
     
    4949        private:
    5050            static SkyboxGenerator* singletonPtr_s;
    51             std::string skyboxPrefix_; 
     51            std::string skyboxPrefix_;
    5252            bool takeScreenshot_;
    5353            int iterateOverDirections_;
Note: See TracChangeset for help on using the changeset viewer.