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/src/osgSim/LightPointDrawable.cpp

    r12390 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*/ 
     
    2626 
    2727    setSupportsDisplayList(false); 
    28      
     28 
    2929    _depthOff = new osg::Depth; 
    3030    _depthOff->setWriteMask(false); 
     
    3535    _blendOne = new osg::BlendFunc; 
    3636    _blendOne->setFunction(osg::BlendFunc::SRC_ALPHA,osg::BlendFunc::ONE); 
    37      
     37 
    3838    _blendOneMinusSrcAlpha = new osg::BlendFunc; 
    3939    _blendOneMinusSrcAlpha->setFunction(osg::BlendFunc::SRC_ALPHA,osg::BlendFunc::ONE_MINUS_SRC_ALPHA); 
     
    6565            itr->erase(itr->begin(),itr->end()); 
    6666    } 
    67      
     67 
    6868    for(itr=_sizedAdditiveLightPointList.begin(); 
    6969        itr!=_sizedAdditiveLightPointList.end(); 
     
    9494    state.applyTextureMode(0,GL_TEXTURE_1D,false); 
    9595    state.applyTextureMode(0,GL_TEXTURE_2D,false); 
    96      
     96 
    9797    glHint(GL_POINT_SMOOTH_HINT,GL_NICEST); 
    9898 
     
    141141 
    142142 
    143     state.applyAttribute(_blendOne.get());     
     143    state.applyAttribute(_blendOne.get()); 
    144144 
    145145    for(pointsize=1,sitr=_sizedAdditiveLightPointList.begin(); 
     
    160160 
    161161    glPointSize(1); 
    162      
     162 
    163163    glHint(GL_POINT_SMOOTH_HINT,GL_FASTEST); 
    164164 
    165165    state.haveAppliedAttribute(osg::StateAttribute::POINT); 
    166      
     166 
    167167    state.dirtyAllVertexArrays(); 
    168168    state.disableAllVertexArrays(); 
    169      
     169 
    170170    // restore the state afterwards. 
    171171    state.apply();