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/FrameBufferObject

    r12298 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*/ 
     
    167167        TglBindRenderbuffer* glBindRenderbuffer; 
    168168        TglGenRenderbuffers* glGenRenderbuffers; 
    169         TglDeleteRenderbuffers* glDeleteRenderbuffers;  
     169        TglDeleteRenderbuffers* glDeleteRenderbuffers; 
    170170        TglRenderbufferStorage* glRenderbufferStorage; 
    171171        TglRenderbufferStorageMultisample* glRenderbufferStorageMultisample; 
     
    377377        explicit FrameBufferAttachment(TextureRectangle* target); 
    378378        explicit FrameBufferAttachment(Camera::Attachment& attachment); 
    379          
     379 
    380380        ~FrameBufferAttachment(); 
    381381 
    382         FrameBufferAttachment&operator = (const FrameBufferAttachment& copy);         
     382        FrameBufferAttachment&operator = (const FrameBufferAttachment& copy); 
    383383 
    384384        bool isMultisample() const; 
     
    413413        typedef std::map<Camera::BufferComponent, FrameBufferAttachment> AttachmentMap; 
    414414        typedef std::vector<GLenum> MultipleRenderingTargets; 
    415          
     415 
    416416        typedef Camera::BufferComponent BufferComponent; 
    417417 
     
    422422 
    423423        inline const AttachmentMap& getAttachmentMap() const; 
    424          
     424 
    425425 
    426426        void setAttachment(BufferComponent attachment_point, const FrameBufferAttachment &attachment); 
    427427        inline const FrameBufferAttachment& getAttachment(BufferComponent attachment_point) const; 
    428428        inline bool hasAttachment(BufferComponent attachment_point) const; 
    429          
     429 
    430430        inline bool hasMultipleRenderingTargets() const { return !_drawBuffers.empty(); } 
    431431        inline const MultipleRenderingTargets& getMultipleRenderingTargets() const { return _drawBuffers; } 
     
    434434 
    435435        int compare(const StateAttribute &sa) const; 
    436          
     436 
    437437        void apply(State &state) const; 
    438438 
     
    473473 
    474474        void updateDrawBuffers(); 
    475          
     475 
    476476        inline void dirtyAll(); 
    477477 
    478478        GLenum convertBufferComponentToGLenum(BufferComponent attachment_point) const; 
    479479 
    480     private:         
     480    private: 
    481481        AttachmentMap               _attachments; 
    482482 
     
    487487        mutable buffered_value<int>         _unsupported; 
    488488        mutable buffered_value<GLuint>      _fboID; 
    489          
     489 
    490490    }; 
    491491