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

    r6422 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*/ 
     
    2020{ 
    2121 
    22     /** ConnectConnectedParticleSystem is a specialise ConnectedParticleSystem for effects  
     22    /** ConnectConnectedParticleSystem is a specialise ConnectedParticleSystem for effects 
    2323      * like missle trails, where the individual particles are rendered as 
    24       * single ribbon.  
     24      * single ribbon. 
    2525    */ 
    2626    class OSGPARTICLE_EXPORT ConnectedParticleSystem: public osgParticle::ParticleSystem 
    2727    { 
    2828    public: 
    29      
     29 
    3030        ConnectedParticleSystem(); 
    3131        ConnectedParticleSystem(const ConnectedParticleSystem& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); 
    3232 
    3333        META_Object(osgParticle, ConnectedParticleSystem); 
    34          
     34 
    3535        /// Create a new particle from the specified template (or the default one if <CODE>ptemplate</CODE> is null). 
    3636        virtual Particle* createParticle(const Particle* ptemplate); 
    37          
     37 
    3838        /// Reuse the i-th particle. 
    3939        virtual void reuseParticle(int i); 
    40          
     40 
    4141        /// Draw the connected particles as either a line or a quad strip, depending upon viewing distance. . 
    4242        virtual void drawImplementation(osg::RenderInfo& renderInfo) const; 
    43          
     43 
    4444        ///Get the (const) particle from where the line or quadstrip starts to be drawn 
    4545        const osgParticle::Particle* getStartParticle() const 
     
    4747            return (_startParticle != Particle::INVALID_INDEX) ? &_particles[_startParticle] : 0; 
    4848        } 
    49          
     49 
    5050        ///Get the particle from where the line or quadstrip starts to be drawn 
    5151        osgParticle::Particle* getStartParticle() 
     
    5353            return (_startParticle != Particle::INVALID_INDEX) ? &_particles[_startParticle] : 0; 
    5454        } 
    55          
     55 
    5656        ///Set the maximum numbers of particles to be skipped during the predraw filtering 
    5757        void setMaxNumberOfParticlesToSkip(unsigned int maxNumberofParticlesToSkip){_maxNumberOfParticlesToSkip = maxNumberofParticlesToSkip;} 
    58         
     58 
    5959        ///Get the maximum numbers of particles to be skipped during the predraw filtering 
    6060        unsigned int getMaxNumberOfParticlesToSkip(){ return _maxNumberOfParticlesToSkip;} 
    61          
     61 
    6262    protected: 
    6363 
     
    6565 
    6666        ConnectedParticleSystem& operator=(const ConnectedParticleSystem&) { return *this; } 
    67          
     67 
    6868        int _lastParticleCreated; 
    6969        unsigned int _maxNumberOfParticlesToSkip; 
    70          
     70 
    7171        int _startParticle; 
    72         
     72 
    7373      }; 
    7474