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/osg/AlphaFunc

    r11790 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*/ 
     
    2424 
    2525/** Encapsulates OpenGL glAlphaFunc. 
    26 */      
     26*/ 
    2727class OSG_EXPORT AlphaFunc : public StateAttribute 
    2828{ 
    2929    public : 
    30      
     30 
    3131        enum ComparisonFunction { 
    3232            NEVER = GL_NEVER, 
     
    4242 
    4343        AlphaFunc(); 
    44          
     44 
    4545        AlphaFunc(ComparisonFunction func,float ref): 
    4646            _comparisonFunc(func), 
     
    5252            _comparisonFunc(af._comparisonFunc), 
    5353            _referenceValue(af._referenceValue) {} 
    54          
     54 
    5555        META_StateAttribute(osg, AlphaFunc,ALPHAFUNC); 
    56          
     56 
    5757        /** Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. */ 
    5858        virtual int compare(const StateAttribute& sa) const 
     
    8080            _referenceValue = ref; 
    8181        } 
    82          
     82 
    8383        inline void setFunction(ComparisonFunction func) { _comparisonFunc=func; } 
    8484        inline ComparisonFunction getFunction() const { return _comparisonFunc; } 
    85          
     85 
    8686        inline void setReferenceValue(float value) { _referenceValue=value; } 
    8787        inline float getReferenceValue() const { return _referenceValue; } 
    88          
     88 
    8989        virtual void apply(State& state) const; 
    9090 
    9191    protected: 
    92      
     92 
    9393        virtual ~AlphaFunc(); 
    9494