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/ImpostorSprite.cpp

    r12391 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*/ 
     
    8383 
    8484        float error_sqrd = dx*dx+dy*dy; 
    85          
     85 
    8686        if (error_sqrd > max_error_sqrd) max_error_sqrd = error_sqrd; 
    87          
     87 
    8888    } 
    8989 
     
    155155    functor.setVertexArray(4,_coords); 
    156156    functor.drawArrays( GL_QUADS, 0, 4); 
    157      
     157 
    158158} 
    159159 
     
    172172    _alphafunc = new osg::AlphaFunc; 
    173173    _alphafunc->setFunction( osg::AlphaFunc::GREATER, 0.000f ); 
    174      
     174 
    175175    _reuseStateSetIndex = 0; 
    176176} 
     
    187187        _first = next; 
    188188    } 
    189      
     189 
    190190} 
    191191 
     
    254254    { 
    255255 
    256         // search for a valid impostor to reuse.         
     256        // search for a valid impostor to reuse. 
    257257        ImpostorSprite* curr = _first; 
    258258        while (curr) 
     
    274274 
    275275    // creating new impostor sprite. 
    276      
     276 
    277277 
    278278    osg::StateSet* stateset = new osg::StateSet; 
     
    311311 
    312312    push_back(is); 
    313      
     313 
    314314    return is; 
    315315