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

    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*/ 
     
    2929 
    3030    /**    A program class for performing operations on particles using a sequence of <I>operators</I>. 
    31         To use a <CODE>ModularProgram</CODE> you have to create some <CODE>Operator</CODE> objects and  
     31        To use a <CODE>ModularProgram</CODE> you have to create some <CODE>Operator</CODE> objects and 
    3232        add them to the program. 
    3333        All operators will be applied to each particle in the same order they've been added to the program. 
    34     */     
     34    */ 
    3535    class OSGPARTICLE_EXPORT ModularProgram: public Program { 
    3636    public: 
    3737        ModularProgram(); 
    3838        ModularProgram(const ModularProgram& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); 
    39          
     39 
    4040        META_Node(osgParticle,ModularProgram); 
    41          
     41 
    4242        /// Get the number of operators. 
    4343        inline int numOperators() const; 
    44          
    45         /// Add an operator to the list.         
     44 
     45        /// Add an operator to the list. 
    4646        inline void addOperator(Operator* o); 
    47          
     47 
    4848        /// Get a pointer to an operator in the list. 
    4949        inline Operator* getOperator(int i); 
    50          
     50 
    5151        /// Get a const pointer to an operator in the list. 
    5252        inline const Operator* getOperator(int i) const; 
    53          
     53 
    5454        /// Remove an operator from the list. 
    55         inline void removeOperator(int i);         
    56              
     55        inline void removeOperator(int i); 
     56 
    5757    protected: 
    5858        virtual ~ModularProgram() {} 
    5959        ModularProgram& operator=(const ModularProgram&) { return *this; } 
    60          
     60 
    6161        void execute(double dt); 
    62          
     62 
    6363    private: 
    6464        typedef std::vector<osg::ref_ptr<Operator> > Operator_vector; 
     
    6666        Operator_vector _operators; 
    6767    }; 
    68      
     68 
    6969    // INLINE FUNCTIONS 
    70      
     70 
    7171    inline int ModularProgram::numOperators() const 
    7272    { 
     
    9393        _operators.erase(_operators.begin()+i); 
    9494    } 
    95      
     95 
    9696 
    9797}