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

    r12805 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        virtual ~CullSettings() {} 
    47          
     47 
    4848        CullSettings& operator = (const CullSettings& settings) 
    4949        { 
     
    5656        virtual void setDefaults(); 
    5757 
    58          
     58 
    5959        enum VariablesMask 
    6060        { 
     
    9090        /** Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object.*/ 
    9191        InheritanceMask getInheritanceMask() const { return _inheritanceMask; } 
    92          
     92 
    9393        /** Set the local cull settings values from specified CullSettings object.*/ 
    9494        void setCullSettings(const CullSettings& settings); 
     
    112112            DO_NOT_MODIFY_INHERITANCE_MASK 
    113113        }; 
    114          
     114 
    115115        void setInheritanceMaskActionOnAttributeSetting(InheritanceMaskActionOnAttributeSetting action) { _inheritanceMaskActionOnAttributeSetting = action; } 
    116116        InheritanceMaskActionOnAttributeSetting getInheritanceMaskActionOnAttributeSetting() const { return _inheritanceMaskActionOnAttributeSetting; } 
     
    166166        }; 
    167167 
    168         void setComputeNearFarMode(ComputeNearFarMode cnfm) { _computeNearFar=cnfm; applyMaskAction(COMPUTE_NEAR_FAR_MODE); }  
    169         ComputeNearFarMode getComputeNearFarMode() const { return _computeNearFar;}  
     168        void setComputeNearFarMode(ComputeNearFarMode cnfm) { _computeNearFar=cnfm; applyMaskAction(COMPUTE_NEAR_FAR_MODE); } 
     169        ComputeNearFarMode getComputeNearFarMode() const { return _computeNearFar;} 
    170170 
    171171        void setNearFarRatio(double ratio) { _nearFarRatio = ratio; applyMaskAction(NEAR_FAR_RATIO); } 
     
    193193                                          CLUSTER_CULLING 
    194194        }; 
    195          
     195 
    196196        typedef int CullingMode; 
    197197 
    198198        /** Set the culling mode for the CullVisitor to use.*/ 
    199199        void setCullingMode(CullingMode mode) { _cullingMode = mode; applyMaskAction(CULLING_MODE); } 
    200          
     200 
    201201        /** Returns the current CullingMode.*/ 
    202202        CullingMode getCullingMode() const { return _cullingMode; } 
     
    214214        /** Set the LOD bias for the CullVisitor to use.*/ 
    215215        void setLODScale(float scale) { _LODScale = scale; applyMaskAction(LOD_SCALE); } 
    216          
     216 
    217217        /** Get the LOD bias.*/ 
    218218        float getLODScale() const { return _LODScale; } 
     
    235235            virtual bool clampProjectionMatrixImplementation(osg::Matrixd& projection, double& znear, double& zfar) const = 0; 
    236236        }; 
    237          
     237 
    238238        /** set the ClampProjectionMatrixCallback.*/ 
    239239        void setClampProjectionMatrixCallback(ClampProjectionMatrixCallback* cpmc) { _clampProjectionMatrixCallback = cpmc; applyMaskAction(CLAMP_PROJECTION_MATRIX_CALLBACK); } 
     
    262262        bool                                        _depthSortImpostorSprites; 
    263263        float                                       _impostorPixelErrorThreshold; 
    264         int                                         _numFramesToKeepImpostorSprites;     
     264        int                                         _numFramesToKeepImpostorSprites; 
    265265 
    266266        Node::NodeMask                              _cullMask; 
    267267        Node::NodeMask                              _cullMaskLeft; 
    268268        Node::NodeMask                              _cullMaskRight; 
    269   
     269 
    270270 
    271271};