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/src/osgManipulator/TabPlaneDragger.cpp

    r9195 r13041  
    8383    { 
    8484        osg::Node* handleScene = createHandleScene(osg::Vec3(cornerScaleDragger->getTopLeftHandlePosition()[0], 
    85                                                              0.0,cornerScaleDragger->getTopLeftHandlePosition()[1]),  
     85                                                             0.0,cornerScaleDragger->getTopLeftHandlePosition()[1]), 
    8686                                                   handleNode, handleScaleFactor); 
    8787        cornerScaleDragger->addChild(handleScene); 
    8888        cornerScaleDragger->setTopLeftHandleNode(*handleScene); 
    8989    } 
    90      
     90 
    9191    // Create a bottom left box. 
    9292    { 
     
    127127        horzEdgeScaleDragger->setLeftHandleNode(*handleScene); 
    128128    } 
    129      
     129 
    130130    // Create a right box. 
    131131    { 
     
    162162        osg::Geode* geode = new osg::Geode; 
    163163        osg::Geometry* geometry = new osg::Geometry(); 
    164          
     164 
    165165        osg::Vec3Array* vertices = new osg::Vec3Array(4); 
    166166        (*vertices)[0] = osg::Vec3(cornerScaleDragger->getTopLeftHandlePosition()[0],0.0,cornerScaleDragger->getTopLeftHandlePosition()[1]); 
     
    187187        translateDragger->getTranslate2DDragger()->addChild(geode); 
    188188    } 
    189   
     189 
    190190} 
    191191 
     
    197197    addChild(_cornerScaleDragger.get()); 
    198198    addDragger(_cornerScaleDragger.get()); 
    199      
     199 
    200200    _horzEdgeScaleDragger = new Scale1DDragger(Scale1DDragger::SCALE_WITH_OPPOSITE_HANDLE_AS_PIVOT); 
    201201    addChild(_horzEdgeScaleDragger.get()); 
     
    210210    addChild(_translateDragger.get()); 
    211211    addDragger(_translateDragger.get()); 
    212   
     212 
    213213    setParentDragger(getParentDragger()); 
    214214} 
    215         
     215 
    216216TabPlaneDragger::~TabPlaneDragger() 
    217217{ 
     
    226226 
    227227    // Since the translate plane and the handleNode lie on the same plane the hit could've been on either one. But we 
    228     // need to handle the scaling draggers before the translation. Check if the node path has the scaling nodes else  
     228    // need to handle the scaling draggers before the translation. Check if the node path has the scaling nodes else 
    229229    // check for the scaling nodes in next hit. 
    230230    if (_cornerScaleDragger->handle(pointer, ea, aa)) 
     
    234234    if (_vertEdgeScaleDragger->handle(pointer, ea, aa)) 
    235235        return true; 
    236      
     236 
    237237    PointerInfo nextPointer(pointer); 
    238238    nextPointer.next(); 
    239      
     239 
    240240    while (!nextPointer.completed()) 
    241241    {