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/osgViewer/HelpHandler.cpp

    r7515 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*/ 
     
    4343    osgViewer::View* view = dynamic_cast<osgViewer::View*>(&aa); 
    4444    if (!view) return false; 
    45      
     45 
    4646    osgViewer::ViewerBase* viewer = view->getViewerBase(); 
    4747    if (!viewer) return false; 
    48      
     48 
    4949    if (ea.getHandled()) return false; 
    5050 
     
    8686 
    8787    if (!window) 
    88     {     
     88    { 
    8989        osgViewer::Viewer::Windows windows; 
    9090        viewer->getWindows(windows); 
     
    157157 
    158158    const osg::ApplicationUsage::UsageMap& keyboardBinding = _applicationUsage->getKeyboardMouseBindings(); 
    159      
     159 
    160160    for(osg::ApplicationUsage::UsageMap::const_iterator itr = keyboardBinding.begin(); 
    161161        itr != keyboardBinding.end(); 
     
    197197        if (width > 1024.0f) ratio = 1024.0f/width; 
    198198        if (height*ratio > 800.0f) ratio = 800.0f/height; 
    199          
    200         _camera->setViewMatrix(osg::Matrix::translate(-bb.center()) *  
    201                                osg::Matrix::scale(ratio,ratio,ratio) *  
     199 
     200        _camera->setViewMatrix(osg::Matrix::translate(-bb.center()) * 
     201                               osg::Matrix::scale(ratio,ratio,ratio) * 
    202202                               osg::Matrix::translate(osg::Vec3(640.0f, 520.0f, 0.0f))); 
    203203    }