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/osg/TriangleFunctor

    r7648 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*/ 
     
    6464    } 
    6565 
    66     virtual void setVertexArray(unsigned int,const Vec4* )  
     66    virtual void setVertexArray(unsigned int,const Vec4* ) 
    6767    { 
    6868        notify(WARN)<<"Triangle Functor does not support Vec4* vertex arrays"<<std::endl; 
     
    7979    } 
    8080 
    81     virtual void setVertexArray(unsigned int,const Vec4d* )  
     81    virtual void setVertexArray(unsigned int,const Vec4d* ) 
    8282    { 
    8383        notify(WARN)<<"Triangle Functor does not support Vec4d* vertex arrays"<<std::endl; 
     
    151151    { 
    152152        if (indices==0 || count==0) return; 
    153      
     153 
    154154        typedef const GLubyte* IndexPointer; 
    155      
     155 
    156156        switch(mode) 
    157157        { 
     
    213213                break; 
    214214        } 
    215     }     
     215    } 
    216216 
    217217    virtual void drawElements(GLenum mode,GLsizei count,const GLushort* indices) 
    218218    { 
    219219        if (indices==0 || count==0) return; 
    220      
     220 
    221221        typedef const GLushort* IndexPointer; 
    222      
     222 
    223223        switch(mode) 
    224224        { 
     
    229229                { 
    230230                    this->operator()(_vertexArrayPtr[*iptr],_vertexArrayPtr[*(iptr+1)],_vertexArrayPtr[*(iptr+2)],_treatVertexDataAsTemporary); 
    231                 }     
     231                } 
    232232                break; 
    233233            } 
     
    282282                break; 
    283283        } 
    284     }     
     284    } 
    285285 
    286286    virtual void drawElements(GLenum mode,GLsizei count,const GLuint* indices) 
    287287    { 
    288288        if (indices==0 || count==0) return; 
    289      
     289 
    290290        typedef const GLuint* IndexPointer; 
    291      
     291 
    292292        switch(mode) 
    293293        {