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

    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*/ 
     
    3232        Interpolator() 
    3333        : osg::Object() {} 
    34          
     34 
    3535        Interpolator(const Interpolator& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) 
    3636        : osg::Object(copy, copyop) {} 
    37          
     37 
    3838        virtual const char* libraryName() const { return "osgParticle"; } 
    3939        virtual const char* className() const { return "Interpolator"; } 
    4040        virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const Interpolator* >(obj) != 0; } 
    41                  
     41 
    4242        /// Interpolate between floats. Must be overriden in descendant classes. 
    43         virtual float interpolate(float t, float y1, float y2) const = 0;     
    44          
     43        virtual float interpolate(float t, float y1, float y2) const = 0; 
     44 
    4545        /// Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separately. 
    4646        virtual osg::Vec2 interpolate(float t, const osg::Vec2& y1, const osg::Vec2& y2) const 
     
    6161            ); 
    6262        } 
    63          
     63 
    6464        /// Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separately. 
    6565        virtual osg::Vec4 interpolate(float t, const osg::Vec4& y1, const osg::Vec4& y2) const 
     
    7272            ); 
    7373        } 
    74          
     74 
    7575        template<class ValueType> 
    7676        ValueType interpolate(float t, const range<ValueType>& r) const 
     
    7878            return interpolate(t, r.minimum, r.maximum); 
    7979        } 
    80          
     80 
    8181    protected: 
    8282        virtual ~Interpolator() {}