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

    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*/ 
     
    2121 
    2222/** Encapsulates OpenGL glColorMaskFunc/Op/Mask functions. 
    23 */      
     23*/ 
    2424class OSG_EXPORT ColorMask : public StateAttribute 
    2525{ 
    2626    public : 
    27      
    28      
     27 
     28 
    2929        ColorMask(); 
    3030 
     
    3434            _blue(blue), 
    3535            _alpha(alpha) {} 
    36              
     36 
    3737 
    3838        /** Copy constructor using CopyOp to manage deep vs shallow copy. */ 
     
    4343            _blue(cm._blue), 
    4444            _alpha(cm._alpha) {} 
    45          
     45 
    4646        META_StateAttribute(osg, ColorMask, COLORMASK); 
    47          
     47 
    4848        /** Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. */ 
    4949        virtual int compare(const StateAttribute& sa) const 
     
    6868            _blue = blue; 
    6969            _alpha = alpha; 
    70              
     70 
    7171        } 
    72          
     72 
    7373        inline void setRedMask(bool mask) { _red=mask; } 
    7474        inline bool getRedMask() const { return _red; } 
     
    7979        inline void setBlueMask(bool mask) { _blue=mask; } 
    8080        inline bool getBlueMask() const { return _blue; } 
    81          
     81 
    8282        inline void setAlphaMask(bool mask) { _alpha=mask; } 
    8383        inline bool getAlphaMask() const { return _alpha; } 
     
    8686 
    8787    protected: 
    88      
     88 
    8989        virtual ~ColorMask(); 
    9090