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

    r11808 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*/ 
     
    4545 
    4646        ClampColor(); 
    47          
     47 
    4848        ClampColor(GLenum vertexMode, GLenum fragmentMode, GLenum readMode); 
    4949 
     
    5656 
    5757        META_StateAttribute(osg, ClampColor,CLAMPCOLOR); 
    58          
     58 
    5959        /** Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. */ 
    6060        virtual int compare(const StateAttribute& sa) const 
     
    8181        GLenum getClampReadColor() const { return _clampReadColor; } 
    8282 
    83          
     83 
    8484        virtual void apply(State& state) const; 
    8585        /** Encapsulates queries of extension availability, obtains extension 
    8686          * function pointers, and provides convenience wrappers for 
    87           * calling extension functions. */         
     87          * calling extension functions. */ 
    8888        class OSG_EXPORT Extensions : public osg::Referenced 
    8989        { 
     
    9292 
    9393                Extensions(const Extensions& rhs); 
    94                  
     94 
    9595                void lowestCommonDenominator(const Extensions& rhs); 
    96                  
     96 
    9797                void setupGLExtensions(unsigned int contextID); 
    9898 
    9999                void setClampColorSupported(bool flag) { _isClampColorSupported=flag; } 
    100100                bool isClampColorSupported() const { return _isClampColorSupported; } 
    101                  
     101 
    102102                void glClampColor(GLenum target, GLenum mode) const; 
    103103 
     
    105105 
    106106                ~Extensions() {} 
    107                  
     107 
    108108                typedef void (GL_APIENTRY * GLClampColorProc) (GLenum target, GLenum mode); 
    109109                bool                _isClampColorSupported; 
     
    111111 
    112112        }; 
    113          
     113 
    114114        /** Returns the Extensions object for the given context. 
    115115          * If createIfNotInitalized is true and the Extensions object doesn't