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

    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*/ 
     
    1919namespace osg { 
    2020 
    21 /** Encapsulate OpenGL glScissor. */      
     21/** Encapsulate OpenGL glScissor. */ 
    2222class OSG_EXPORT Scissor : public StateAttribute 
    2323{ 
    2424    public : 
    2525        Scissor(); 
    26          
     26 
    2727        Scissor(int x,int y,int width,int height): 
    2828            _x(x), 
     
    3030            _width(width), 
    3131            _height(height) {} 
    32              
     32 
    3333 
    3434        /** Copy constructor using CopyOp to manage deep vs shallow copy. */ 
     
    4141 
    4242        META_StateAttribute(osg, Scissor, SCISSOR); 
    43          
     43 
    4444        /** Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. */ 
    4545        virtual int compare(const StateAttribute& sa) const 
     
    5454            COMPARE_StateAttribute_Parameter(_width) 
    5555            COMPARE_StateAttribute_Parameter(_height) 
    56              
     56 
    5757            return 0; // passed all the above comparison macros, must be equal. 
    5858        } 
     
    7272            _height = height; 
    7373        } 
    74          
     74 
    7575        void getScissor(int& x,int& y,int& width,int& height) const 
    7676        { 
     
    8383        inline int& x() { return _x; } 
    8484        inline int x() const { return _x; } 
    85          
     85 
    8686        inline int& y() { return _y; } 
    8787        inline int y() const { return _y; } 
     
    9696 
    9797    protected: 
    98      
     98 
    9999        virtual ~Scissor(); 
    100100