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/osgPlugins/OpenFlight/LightPointRecords.cpp

    r10283 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*/ 
     
    132132        { 
    133133            lp._sector = new osgSim::DirectionalSector( 
    134                 vertex._normal,  
     134                vertex._normal, 
    135135                osg::DegreesToRadians(_lobeHorizontal), 
    136136                osg::DegreesToRadians(_lobeVertical), 
     
    146146                lp._blinkSequence->setDataVariance(osg::Object::DYNAMIC); 
    147147                lp._blinkSequence->setPhaseShift(_animationPhaseDelay); 
    148                 lp._blinkSequence->addPulse(_animationPeriod - _animationPeriodEnable,  
     148                lp._blinkSequence->addPulse(_animationPeriod - _animationPeriodEnable, 
    149149                    osg::Vec4f(0.0f, 0.0f, 0.0f, 0.0f)); 
    150150                lp._blinkSequence->addPulse(_animationPeriodEnable, lp._color); 
     
    166166            // back sector 
    167167            lp._sector = new osgSim::DirectionalSector( 
    168                 -vertex._normal,  
     168                -vertex._normal, 
    169169                osg::DegreesToRadians(_lobeHorizontal), 
    170170                osg::DegreesToRadians(_lobeVertical), 
     
    186186 
    187187        int32 backColorIndex = in.readInt32(); 
    188          
    189         _backColor = document.getColorPool() ?  
    190                             document.getColorPool()->getColor(backColorIndex) :  
     188 
     189        _backColor = document.getColorPool() ? 
     190                            document.getColorPool()->getColor(backColorIndex) : 
    191191                            osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f); 
    192                              
     192 
    193193        _displayMode = in.readInt32(); 
    194194        _intensityFront = in.readFloat32(); 
     
    286286            { 
    287287                lp._sector = new osgSim::DirectionalSector( 
    288                     vertex._normal,  
     288                    vertex._normal, 
    289289                    osg::DegreesToRadians(_appearance->horizontalLobeAngle), 
    290290                    osg::DegreesToRadians(_appearance->verticalLobeAngle), 
     
    359359                // back sector 
    360360                lp._sector = new osgSim::DirectionalSector( 
    361                     -vertex._normal,  
     361                    -vertex._normal, 
    362362                    osg::DegreesToRadians(_appearance->horizontalLobeAngle), 
    363363                    osg::DegreesToRadians(_appearance->verticalLobeAngle),