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/orxonox/worldentities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/worldentities/Drone.h

    r7060 r7127  
    5353            virtual void tick(float dt); //!< Defines which actions the Drone has to take in each tick.
    5454
    55            
     55
    5656            virtual void moveFrontBack(const Vector2& value);
    5757            virtual void moveRightLeft(const Vector2& value);
     
    6161            virtual void rotatePitch(const Vector2& value);
    6262            virtual void rotateRoll(const Vector2& value);
    63            
     63
    6464            /**
    6565            @brief Moves the Drone in the Front/Back-direction by the specifed amount.
     
    8080            inline void moveUpDown(float value)
    8181            { this->moveUpDown(Vector2(value, 0)); }
    82            
     82
    8383            /**
    8484            @brief Rotates the Drone around the y-axis by the specifed amount.
     
    9999            inline void rotateRoll(float value)
    100100            { this->rotateRoll(Vector2(value, 0)); }
    101            
     101
    102102            /**
    103103            @brief Sets the primary thrust to the input amount.
     
    105105            */
    106106            inline void setPrimaryThrust( float thrust )
    107                 { this->primaryThrust_=thrust; }     
     107                { this->primaryThrust_=thrust; }
    108108            inline void setAuxilaryThrust( float thrust )
    109                 { this->auxilaryThrust_=thrust; }     
     109                { this->auxilaryThrust_=thrust; }
    110110            inline void setRotationThrust( float thrust )
    111                 { this->rotationThrust_=thrust; }     
     111                { this->rotationThrust_=thrust; }
    112112            inline void setMaxDistanceToOwner( float distance)
    113113                { this->maxDistanceToOwner_=distance; }
     
    117117                { this->maxShootingRange_=distance; }
    118118
    119            
     119
    120120            /**
    121121            @brief Gets the primary thrust to the input amount.
     
    134134            inline float getMaxShootingRange()
    135135                { return this->maxShootingRange_; }
    136            
     136
    137137        private:
    138138            DroneController *myController_; //!< The controller of the Drone.
    139            
     139
    140140            btVector3 localLinearAcceleration_; //!< The linear acceleration that is used to move the Drone the next tick.
    141141            btVector3 localAngularAcceleration_; //!< The linear angular acceleration that is used to move the Drone the next tick.
    142             float primaryThrust_; //!< The amount of primary thrust. This is just used, when moving forward. 
     142            float primaryThrust_; //!< The amount of primary thrust. This is just used, when moving forward.
    143143            float auxilaryThrust_; //!< The amount of auxilary thrust. Used for all other movements (except for rotations).
    144144            float rotationThrust_; //!< The amount of rotation thrust. Used for rotations only.
  • code/branches/presentation3/src/orxonox/worldentities/WorldEntity.cc

    r6524 r7127  
    8181        this->node_->setPosition(Vector3::ZERO);
    8282        this->node_->setOrientation(Quaternion::IDENTITY);
    83        
     83
    8484        // Activity and visibility memory.
    8585        this->bActiveMem_ = true;
     
    205205        registerVariable(this->parentID_,       VariableDirection::ToClient, new NetworkCallback<WorldEntity>(this, &WorldEntity::networkcallback_parentChanged));
    206206    }
    207    
     207
    208208    /**
    209209    @brief
     
    213213    {
    214214        SUPER(WorldEntity, changedActivity);
    215        
     215
    216216        for (std::set<WorldEntity*>::const_iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); it++)
    217217        {
     
    227227        }
    228228    }
    229    
     229
    230230    /**
    231231    @brief
     
    235235    {
    236236        SUPER(WorldEntity, changedVisibility);
    237        
     237
    238238        for (std::set<WorldEntity*>::const_iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); it++)
    239239        {
  • code/branches/presentation3/src/orxonox/worldentities/WorldEntity.h

    r6524 r7127  
    105105            static const Vector3 DOWN;
    106106            static const Vector3 UP;
    107            
     107
    108108            virtual void changedActivity(void);
    109109            virtual void changedVisibility(void);
     
    234234            std::set<WorldEntity*> children_;
    235235            bool bDeleteWithParent_;
    236            
     236
    237237            bool bActiveMem_;
    238238            bool bVisibleMem_;
Note: See TracChangeset for help on using the changeset viewer.