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/ParticleEffect

    r5980 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*/ 
     
    2424    { 
    2525    public: 
    26      
     26 
    2727        explicit ParticleEffect(bool automaticSetup=true): 
    2828            _automaticSetup(automaticSetup), 
     
    3434            _wind(0.0f,0.0f,0.0f) 
    3535            {} 
    36          
     36 
    3737        ParticleEffect(const ParticleEffect& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); 
    3838 
     
    6363        void setIntensity(float intensity); 
    6464        float getIntensity() const { return _intensity; } 
    65          
     65 
    6666        void setStartTime(double startTime); 
    6767        double getStartTime() const { return _startTime; } 
     
    7676        const osg::Vec3& getWind() const { return _wind; } 
    7777 
    78         /// Get whether all particles are dead  
     78        /// Get whether all particles are dead 
    7979        bool areAllParticlesDead() const { return _particleSystem.valid()?_particleSystem->areAllParticlesDead():true; } 
    8080 
     
    8484        virtual Program* getProgram()  = 0; 
    8585        virtual const Program* getProgram() const  = 0; 
    86          
     86 
    8787        void setParticleSystem(ParticleSystem* ps); 
    8888        inline ParticleSystem* getParticleSystem() { return _particleSystem.get(); } 
     
    9696 
    9797    protected: 
    98      
     98 
    9999        virtual ~ParticleEffect() {} 
    100          
     100 
    101101        bool                            _automaticSetup; 
    102102 
    103103        osg::ref_ptr<ParticleSystem>    _particleSystem; 
    104104 
    105         bool                            _useLocalParticleSystem;         
     105        bool                            _useLocalParticleSystem; 
    106106        std::string                     _textureFileName; 
    107107        Particle                        _defaultParticleTemplate;