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/osg/DrawPixels.cpp

    r12912 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*/ 
     
    1919    // turn off display lists right now, just incase we want to modify the projection matrix along the way. 
    2020    setSupportsDisplayList(false); 
    21      
     21 
    2222    _position.set(0.0f,0.0f,0.0f); 
    23      
     23 
    2424    _useSubImage = false; 
    2525    _offsetX = 0; 
    26     _offsetY = 0;  
     26    _offsetY = 0; 
    2727    _width = 0; 
    2828    _height = 0; 
     
    3434    _image(drawimage._image), 
    3535    _useSubImage(drawimage._useSubImage), 
    36     _offsetX(drawimage._offsetX),  
     36    _offsetX(drawimage._offsetX), 
    3737    _offsetY(drawimage._offsetY), 
    3838    _width(drawimage._width), 
     
    5656    _useSubImage = true; 
    5757    _offsetX = offsetX; 
    58     _offsetY = offsetY;  
     58    _offsetY = offsetY; 
    5959    _width = width; 
    6060    _height = height; 
     
    6464{ 
    6565    offsetX = _offsetX; 
    66     offsetY = _offsetY;  
     66    offsetY = _offsetY; 
    6767    width = _width; 
    6868    height = _height; 
     
    8383        diagonal = sqrtf(_image->s()*_image->s()+_image->t()*_image->t()); 
    8484    } 
    85      
     85 
    8686    bbox.expandBy(_position-osg::Vec3(diagonal,diagonal,diagonal)); 
    8787    bbox.expandBy(_position+osg::Vec3(diagonal,diagonal,diagonal));