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/include/osgUtil/ReversePrimitiveFunctor

    r12139 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*/ 
     
    2525{ 
    2626    public: 
    27      
     27 
    2828        virtual ~ReversePrimitiveFunctor() {} 
    29      
     29 
    3030        osg::PrimitiveSet * getReversedPrimitiveSet() { return _reversedPrimitiveSet.get(); } 
    31          
     31 
    3232        virtual void setVertexArray(unsigned int , const osg::Vec2* ) {} 
    3333        virtual void setVertexArray(unsigned int , const osg::Vec3* ) {} 
     
    3636        virtual void setVertexArray(unsigned int , const osg::Vec3d* ) {} 
    3737        virtual void setVertexArray(unsigned int , const osg::Vec4d* ) {} 
    38      
     38 
    3939        virtual void drawArrays(GLenum mode,GLint first,GLsizei count); 
    4040        virtual void drawElements(GLenum mode,GLsizei count, const GLubyte* indices); 
    4141        virtual void drawElements(GLenum mode,GLsizei count, const GLushort* indices); 
    4242        virtual void drawElements(GLenum mode,GLsizei count, const GLuint* indices); 
    43       
    44      
     43 
     44 
    4545        /// Mimics the OpenGL \c glBegin() function. 
    4646        virtual void begin(GLenum mode); 
    4747        virtual void vertex(unsigned int /*pos*/); 
    4848        virtual void end(); 
    49          
    50          
     49 
     50 
    5151        osg::ref_ptr<osg::PrimitiveSet> _reversedPrimitiveSet; 
    52      
     52 
    5353    private: 
    54      
     54 
    5555        bool _running; 
    5656};