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

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

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

    r12056 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*/ 
     
    4141        ParticleSystemUpdater(); 
    4242        ParticleSystemUpdater(const ParticleSystemUpdater& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); 
    43          
     43 
    4444        META_Node(osgParticle,ParticleSystemUpdater); 
    45          
     45 
    4646        /// Add a particle system to the list. 
    4747        virtual bool addParticleSystem(ParticleSystem* ps); 
     
    5252        /// Remove a particle system(s) from the list (by index). 
    5353        virtual bool removeParticleSystem(unsigned int i, unsigned int numParticleSystemsToRemove=1); 
    54          
     54 
    5555        /// Replace ParticleSystem with another ParticleSystem. 
    5656        virtual bool replaceParticleSystem(ParticleSystem* origPS, ParticleSystem* newPS); 
     
    6464        /// Get a particle system from the list. 
    6565        inline ParticleSystem* getParticleSystem(unsigned int i); 
    66          
     66 
    6767        /// Get a particle system from the list. 
    6868        inline const ParticleSystem* getParticleSystem(unsigned int i) const; 
     
    7373        /// get index number of ParticleSystem. 
    7474        inline unsigned int getParticleSystemIndex( const ParticleSystem* ps ) const; 
    75          
     75 
    7676        virtual void traverse(osg::NodeVisitor& nv); 
    77          
    78         virtual osg::BoundingSphere computeBound() const;         
     77 
     78        virtual osg::BoundingSphere computeBound() const; 
    7979 
    8080    protected: 
    8181        virtual ~ParticleSystemUpdater() {} 
    8282        ParticleSystemUpdater &operator=(const ParticleSystemUpdater &) { return *this; } 
    83          
     83 
    8484    private: 
    8585        typedef std::vector<osg::ref_ptr<ParticleSystem> > ParticleSystem_Vector; 
    86          
     86 
    8787        ParticleSystem_Vector _psv; 
    8888        double _t0; 
    89          
     89 
    9090        //added 1/17/06- bgandere@nps.edu 
    9191        //a var to keep from doing multiple updates per frame 
    9292        unsigned int _frameNumber; 
    9393    }; 
    94      
     94 
    9595    // INLINE FUNCTIONS 
    96      
     96 
    9797    inline unsigned int ParticleSystemUpdater::getNumParticleSystems() const 
    9898    { 
    9999        return static_cast<int>(_psv.size()); 
    100100    } 
    101      
     101 
    102102    inline ParticleSystem* ParticleSystemUpdater::getParticleSystem(unsigned int i) 
    103103    {