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

    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*/ 
     
    3131        inline CenteredPlacer(); 
    3232        inline CenteredPlacer(const CenteredPlacer& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY); 
    33          
     33 
    3434        virtual const char* libraryName() const { return "osgParticle"; } 
    3535        virtual const char* className() const { return "CenteredPlacer"; } 
    36         virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const Placer* >(obj) != 0; }         
    37      
     36        virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const Placer* >(obj) != 0; } 
     37 
    3838        /// Get the center point. 
    3939        inline const osg::Vec3& getCenter() const; 
    40          
     40 
    4141        /// Set the center point. 
    4242        inline void setCenter(const osg::Vec3& v); 
    43          
     43 
    4444        /// Set the center point. 
    4545        inline void setCenter(float x, float y, float z); 
    46          
     46 
    4747    protected: 
    4848        virtual ~CenteredPlacer() {} 
    49          
     49 
    5050    private: 
    5151        osg::Vec3 center_; 
    5252    }; 
    53      
     53 
    5454    // INLINE FUNCTIONS 
    55      
     55 
    5656    inline CenteredPlacer::CenteredPlacer() 
    5757    : Placer(), center_(0, 0, 0) 
    5858    { 
    5959    } 
    60      
     60 
    6161    inline CenteredPlacer::CenteredPlacer(const CenteredPlacer& copy, const osg::CopyOp& copyop) 
    6262    : Placer(copy, copyop), center_(copy.center_) 
    6363    { 
    6464    } 
    65      
     65 
    6666    inline const osg::Vec3& CenteredPlacer::getCenter() const 
    6767    { 
    6868        return center_; 
    6969    } 
    70      
     70 
    7171    inline void CenteredPlacer::setCenter(const osg::Vec3& v) 
    7272    { 
    7373        center_ = v; 
    7474    } 
    75      
     75 
    7676    inline void CenteredPlacer::setCenter(float x, float y, float z) 
    7777    {