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/gta/ReaderWriterGTA.cpp

    r12984 r13041  
    1313/* Copyright (C) 2011 Martin Lambers 
    1414 * 
    15  * This library is open source and may be redistributed and/or modified under   
    16  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     15 * This library is open source and may be redistributed and/or modified under 
     16 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    1717 * (at your option) any later version.  The full license is in LICENSE file 
    1818 * included with this distribution, and on the openscenegraph.org website. 
    19  *  
     19 * 
    2020 * This library is distributed in the hope that it will be useful, 
    2121 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    2323 * OpenSceneGraph Public License for more details. 
    2424 */ 
     
    2727{ 
    2828    public: 
    29      
     29 
    3030        ReaderWriterGTA() 
    3131        { 
     
    3333            supportsOption("COMPRESSION","Set compression method: NONE, ZLIB (default), ZLIB1,...,ZLIB9, BZIP2, or XZ"); 
    3434        } 
    35          
     35 
    3636        virtual const char* className() const { return "GTA Image Reader"; } 
    3737 
    3838        virtual bool acceptsExtension(const std::string& extension) const 
    39         {  
     39        { 
    4040            return osgDB::equalCaseInsensitive(extension,"gta"); 
    4141        } 
     
    8484                    throw std::exception(); 
    8585                } 
    86                 pixelFormat =  
     86                pixelFormat = 
    8787                    hdr.components() == 1 ? GL_LUMINANCE : 
    8888                    hdr.components() == 2 ? GL_LUMINANCE_ALPHA : 
     
    356356            return rr; 
    357357        } 
    358          
     358 
    359359        virtual WriteResult writeImage(const osg::Image& img,std::ostream& fout,const osgDB::ReaderWriter::Options* options) const 
    360360        {