Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgUtil/SceneGraphBuilder

    r12380 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*/ 
     
    3232        SceneGraphBuilder(); 
    3333 
    34         //  
     34        // 
    3535        //  OpenGL 1.0 style building methods 
    3636        // 
     
    4343        void Scaled(GLdouble x, GLdouble y, GLdouble z); 
    4444        void Rotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 
    45          
     45 
    4646        void BlendFunc(GLenum srcFactor, GLenum dstFactor); 
    4747        void CullFace(GLenum mode); 
     
    5555        void PolygonStipple(const GLubyte* mask); 
    5656        void ShadeModel(GLenum mode); 
    57          
     57 
    5858        void Enable(GLenum mode); 
    5959        void Disable(GLenum mode); 
    60          
     60 
    6161        void Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 
    6262        void Color4fv(GLfloat* c) { Color4f(c[0], c[1], c[2], c[3]); } 
     
    121121 
    122122    protected: 
    123      
     123 
    124124        typedef std::vector<osg::Matrixd> Matrices; 
    125125 
    126126        void matrixChanged(); 
    127127        void addAttribute(osg::StateAttribute* attribute); 
    128         void addMode(GLenum mode, bool enabled);                 
     128        void addMode(GLenum mode, bool enabled); 
    129129        void addTextureAttribute(unsigned int unit, osg::StateAttribute* attribute); 
    130         void addTextureMode(unsigned int unit, GLenum mode, bool enabled);                 
     130        void addTextureMode(unsigned int unit, GLenum mode, bool enabled); 
    131131        void addShape(osg::Shape* shape); 
    132132        void addDrawable(osg::Drawable* drawable); 
    133133        void newGeometry(); 
    134          
     134 
    135135        void allocateGeometry(); 
    136136        void completeGeometry(); 
    137          
     137 
    138138        void allocateStateSet(); 
    139          
     139 
    140140        Matrices                            _matrixStack; 
    141141        osg::ref_ptr<osg::StateSet>         _stateset; 
    142142        bool                                _statesetAssigned; 
    143          
     143 
    144144        bool                                _normalSet; 
    145145        osg::Vec3f                          _normal; 
     
    156156        osg::ref_ptr<osg::Vec4Array>        _colors; 
    157157        osg::ref_ptr<osg::Vec4Array>        _texCoords; 
    158      
     158 
    159159        struct QuadricState 
    160160        { 
     
    178178        osg::ref_ptr<osg::MatrixTransform>  _transform; 
    179179        osg::ref_ptr<osg::Group>            _group; 
    180      
     180 
    181181}; 
    182182