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

    r12139 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2010 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2010 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*/ 
     
    2828public: 
    2929    CompositePlacer() : Placer() {} 
    30      
     30 
    3131    CompositePlacer( const CompositePlacer& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY ) 
    3232    : Placer(copy, copyop), _placers(copy._placers) {} 
    33      
     33 
    3434    META_Object( osgParticle, CompositePlacer ); 
    35      
     35 
    3636    // Set a child placer at specific index 
    3737    void setPlacer( unsigned int i, Placer* p ) 
     
    4040        else addPlacer(p); 
    4141    } 
    42      
     42 
    4343    /// Add a child placer 
    4444    void addPlacer( Placer* p ) { _placers.push_back(p); } 
    45      
     45 
    4646    /// Remove a child placer 
    4747    void removePlacer( unsigned int i ) 
    4848    { if (i<_placers.size()) _placers.erase(_placers.begin()+i); } 
    49      
     49 
    5050    /// Get a child placer 
    5151    Placer* getPlacer( unsigned int i ) { return _placers[i].get(); } 
    5252    const Placer* getPlacer( unsigned int i ) const { return _placers[i].get(); } 
    53      
     53 
    5454    /// Get number of placers 
    5555    unsigned int getNumPlacers() const { return _placers.size(); } 
    56      
     56 
    5757    /// Place a particle. Do not call it manually. 
    5858    inline void place( Particle* P ) const; 
    59      
     59 
    6060    /// return the volume of the box 
    6161    inline float volume() const; 
    62      
     62 
    6363    /// return the control position 
    6464    inline osg::Vec3 getControlPosition() const; 
    65      
     65 
    6666protected: 
    6767    virtual ~CompositePlacer() {} 
    6868    CompositePlacer& operator=( const CompositePlacer& ) { return *this; } 
    69      
     69 
    7070    typedef std::vector< osg::ref_ptr<Placer> > PlacerList; 
    7171    PlacerList _placers;