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

    r7648 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*/ 
     
    2828 
    2929    public: 
    30      
    31      
     30 
     31 
    3232        typedef std::vector<Polytope> HoleList; 
    3333 
     
    4343 
    4444 
    45         bool operator < (const ShadowVolumeOccluder& svo) const { return getVolume()>svo.getVolume(); } // not greater volume first.  
     45        bool operator < (const ShadowVolumeOccluder& svo) const { return getVolume()>svo.getVolume(); } // not greater volume first. 
    4646 
    4747        /** compute the shadow volume occluder. */ 
    4848        bool computeOccluder(const NodePath& nodePath,const ConvexPlanarOccluder& occluder,CullStack& cullStack,bool createDrawables=false); 
    49          
     49 
    5050 
    5151        inline void disableResultMasks(); 
    52          
     52 
    5353        inline void pushCurrentMask(); 
    5454        inline void popCurrentMask(); 
    55          
    56          
     55 
     56 
    5757        /** return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is 
    5858          * associated with.*/ 
     
    6262            else return false; 
    6363        } 
    64          
     64 
    6565 
    6666        /** Set the NodePath which describes which node in the scene graph 
     
    7171 
    7272 
    73         /** get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by  
     73        /** get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by 
    7474          * the volume of the view frustum in eye coords.*/ 
    7575        float getVolume() const { return _volume; } 
    76          
     76 
    7777        /** return the occluder polytope.*/ 
    7878        Polytope& getOccluder() { return _occluderVolume; } 
    79          
     79 
    8080        /** return the const occluder polytope.*/ 
    8181        const Polytope& getOccluder() const { return _occluderVolume; } 
    82          
     82 
    8383        /** return the list of holes.*/ 
    8484        HoleList& getHoleList() { return _holeList; } 
    85          
     85 
    8686        /** return the const list of holes.*/ 
    8787        const HoleList& getHoleList() const { return _holeList; } 
    88          
     88 
    8989 
    9090        /** return true if the specified vertex list is contained entirely 
     
    9595          * within this shadow occluder volume.*/ 
    9696        bool contains(const BoundingSphere& bound); 
    97          
     97 
    9898        /** return true if the specified bounding box is contained entirely 
    9999          * within this shadow occluder volume.*/ 
     
    110110            } 
    111111        } 
    112          
     112 
    113113 
    114114    protected: 
     
    170170}    // end of namespace 
    171171 
    172 #endif  
     172#endif