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/osg/Math.cpp

    r12454 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*/ 
     
    3333               *ptr!=0 && 
    3434               ((*ptr>='0' && *ptr<='9') || 
    35                 (*ptr>='a' && *ptr<='f') ||   
     35                (*ptr>='a' && *ptr<='f') || 
    3636                (*ptr>='A' && *ptr<='F')) 
    3737              ) 
     
    4242            ++ptr; 
    4343        } 
    44          
     44 
    4545        // OSG_NOTICE<<"Read "<<str<<" result = "<<value<<std::endl; 
    4646        return value; 
    4747    } 
    48      
     48 
    4949    ptr = str; 
    50      
     50 
    5151    bool    hadDecimal[2]; 
    5252    double  value[2]; 
    5353    double  sign[2]; 
    5454    double  decimalMultiplier[2]; 
    55      
     55 
    5656    hadDecimal[0] = hadDecimal[1] = false; 
    5757    sign[0] = sign[1] = 1.0; 
     
    5959    decimalMultiplier[0] = decimalMultiplier[1] = 0.1; 
    6060    int pos = 0; 
    61      
     61 
    6262    // compute mantissa and exponent parts 
    6363    while (*ptr!=0 && pos<2) 
     
    9090        { 
    9191            if (pos==1) break; 
    92              
     92 
    9393            pos = 1; 
    9494        }