Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgParticle/AccelOperator

    r5328 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 
    22 * 
    3  * This library is open source and may be redistributed and/or modified under   
    4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     3 * This library is open source and may be redistributed and/or modified under 
     4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    55 * (at your option) any later version.  The full license is in LICENSE file 
    66 * included with this distribution, and on the openscenegraph.org website. 
    7  *  
     7 * 
    88 * This library is distributed in the hope that it will be useful, 
    99 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1111 * OpenSceneGraph Public License for more details. 
    1212*/ 
     
    3838        /// Get the acceleration vector. 
    3939        inline const osg::Vec3& getAcceleration() const; 
    40          
     40 
    4141        /// Set the acceleration vector. 
    4242        inline void setAcceleration(const osg::Vec3& v); 
    43          
     43 
    4444        /** Quickly set the acceleration vector to the gravity on earth (0, 0, -9.81). 
    4545            The acceleration will be multiplied by the <CODE>scale</CODE> parameter. 
    4646        */ 
    4747        inline void setToGravity(float scale = 1); 
    48          
     48 
    4949        /// Apply the acceleration to a particle. Do not call this method manually. 
    5050        inline void operate(Particle* P, double dt); 
    51          
     51 
    5252        /// Perform some initializations. Do not call this method manually. 
    5353        inline void beginOperate(Program *prg); 
     
    5555    protected: 
    5656        virtual ~AccelOperator() {} 
    57         AccelOperator &operator=(const AccelOperator &) { return *this; }         
     57        AccelOperator &operator=(const AccelOperator &) { return *this; } 
    5858 
    5959    private: 
     
    6363 
    6464    // INLINE FUNCTIONS 
    65      
     65 
    6666    inline AccelOperator::AccelOperator() 
    6767    : Operator(), _accel(0, 0, 0) 
    6868    { 
    6969    } 
    70      
     70 
    7171    inline AccelOperator::AccelOperator(const AccelOperator& copy, const osg::CopyOp& copyop) 
    7272    : Operator(copy, copyop), _accel(copy._accel) 
     
    8383        _accel = v; 
    8484    } 
    85      
     85 
    8686    inline void AccelOperator::setToGravity(float scale) 
    8787    { 
     
    9393        P->addVelocity(_xf_accel * dt); 
    9494    } 
    95      
     95 
    9696    inline void AccelOperator::beginOperate(Program *prg) 
    9797    {