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

    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/** Class to globally enable/disable OpenGL's polygon culling mode. 
    23  */      
     23 */ 
    2424class OSG_EXPORT CullFace : public StateAttribute 
    2525{ 
    2626    public : 
    27      
     27 
    2828        enum Mode { 
    2929            FRONT = GL_FRONT, 
     
    3131            FRONT_AND_BACK = GL_FRONT_AND_BACK 
    3232        }; 
    33      
     33 
    3434        CullFace(Mode mode=BACK): 
    3535            _mode(mode) {} 
     
    4141 
    4242        META_StateAttribute(osg, CullFace, CULLFACE); 
    43          
     43 
    4444        /** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/ 
    4545        virtual int compare(const StateAttribute& sa) const 
     
    6464 
    6565        inline Mode getMode() const { return _mode; } 
    66      
     66 
    6767        virtual void apply(State& state) const; 
    68          
     68 
    6969    protected: 
    70      
     70 
    7171        virtual ~CullFace(); 
    72          
     72 
    7373        Mode _mode; 
    7474