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

    r12404 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*/ 
     
    3636 
    3737        META_Object(osg,View); 
    38          
     38 
    3939        /** Take all the settings, Camera and Slaves from the passed in view, leaving it empty. */ 
    4040        virtual void take(View& rhs); 
     
    5858            SKY_LIGHT 
    5959        }; 
    60          
     60 
    6161        /** Set the global lighting to use for this view. 
    6262          * Defaults to headlight. */ 
     
    7575        const osg::Light* getLight() const { return _light.get(); } 
    7676 
    77         /** Set the master camera of the view. */         
     77        /** Set the master camera of the view. */ 
    7878        void setCamera(osg::Camera* camera); 
    7979 
    80         /** Get the master camera of the view. */         
     80        /** Get the master camera of the view. */ 
    8181        osg::Camera* getCamera() { return _camera.get(); } 
    8282 
    83         /** Get the const master camera of the view. */         
     83        /** Get the const master camera of the view. */ 
    8484        const osg::Camera* getCamera() const { return _camera.get(); } 
    8585 
    86         /** Set the frame stamp of the view. */         
     86        /** Set the frame stamp of the view. */ 
    8787        void setFrameStamp(osg::FrameStamp* fs) { _frameStamp = fs; } 
    8888 
    89         /** Get the frame stamp of the view. */         
     89        /** Get the frame stamp of the view. */ 
    9090        osg::FrameStamp* getFrameStamp() { return _frameStamp.get(); } 
    9191 
    92         /** Get the frame stamp of the view. */         
     92        /** Get the frame stamp of the view. */ 
    9393        const osg::FrameStamp* getFrameStamp() const { return _frameStamp.get(); } 
    9494 
     
    9999            Slave(bool useMastersSceneData=true): 
    100100                _useMastersSceneData(useMastersSceneData) {} 
    101                  
     101 
    102102            Slave(osg::Camera* camera, const osg::Matrixd& projectionOffset, const osg::Matrixd& viewOffset, bool useMastersSceneData=true): 
    103                 _camera(camera),  
    104                 _projectionOffset(projectionOffset),  
     103                _camera(camera), 
     104                _projectionOffset(projectionOffset), 
    105105                _viewOffset(viewOffset), 
    106106                _useMastersSceneData(useMastersSceneData) {} 
    107          
     107 
    108108            Slave(const Slave& rhs) : 
    109                 _camera(rhs._camera),  
    110                 _projectionOffset(rhs._projectionOffset),  
     109                _camera(rhs._camera), 
     110                _projectionOffset(rhs._projectionOffset), 
    111111                _viewOffset(rhs._viewOffset), 
    112112                _useMastersSceneData(rhs._useMastersSceneData), 
     
    135135                else updateSlaveImplementation(view); 
    136136            } 
    137              
     137 
    138138            virtual void updateSlaveImplementation(View& view); 
    139139 
     
    174174 
    175175        osg::ref_ptr<osg::Camera>       _camera; 
    176          
     176 
    177177        typedef std::vector<Slave>      Slaves; 
    178178        Slaves                          _slaves;