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/src/osgShadow/ViewDependentShadowTechnique.cpp

    r12292 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 * 
     
    4444 
    4545void ViewDependentShadowTechnique::dirty() 
    46 {     
     46{ 
    4747    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_viewDataMapMutex); 
    4848 
    49     osgShadow::ShadowTechnique::_dirty = true;     
     49    osgShadow::ShadowTechnique::_dirty = true; 
    5050 
    5151    for( ViewDataMap::iterator mitr = _viewDataMap.begin(); 
     
    6868    osgShadow::ShadowTechnique::_shadowedScene->osg::Group::traverse(nv); 
    6969} 
    70          
     70 
    7171void ViewDependentShadowTechnique::cull(osgUtil::CullVisitor& cv) 
    7272{ 
    7373    //osgShadow::ShadowTechnique::cull( cv ); 
    74      
     74 
    7575    ViewData * vd = getViewDependentData( &cv ); 
    7676 
     
    8787    } 
    8888} 
    89                  
     89 
    9090void ViewDependentShadowTechnique::cleanSceneGraph() 
    91 {     
     91{ 
    9292    //osgShadow::ShadowTechnique::cleanSceneGraph( ); 
    9393} 
     
    9595ViewDependentShadowTechnique::ViewData * 
    9696ViewDependentShadowTechnique::getViewDependentData( osgUtil::CullVisitor * cv ) 
    97 {     
     97{ 
    9898    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_viewDataMapMutex); 
    9999    return _viewDataMap[ cv ].get(); 
     
    102102void ViewDependentShadowTechnique::setViewDependentData 
    103103    ( osgUtil::CullVisitor * cv, ViewData * data ) 
    104 {     
     104{ 
    105105    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_viewDataMapMutex); 
    106106    _viewDataMap[ cv ] = data; 
    107107} 
    108108 
    109 void ViewDependentShadowTechnique::ViewData::dirty( bool flag )     
    110 {     
     109void ViewDependentShadowTechnique::ViewData::dirty( bool flag ) 
     110{ 
    111111    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 
    112112    _dirty = flag; 
     
    121121} 
    122122 
    123 void ViewDependentShadowTechnique::ViewData::cull( void )     
    124 {     
     123void ViewDependentShadowTechnique::ViewData::cull( void ) 
     124{ 
    125125 
    126126}