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/osgAnimation/Target

    r12139 r13041  
    1 /*  -*-c++-*-  
     1/*  -*-c++-*- 
    22 *  Copyright (C) 2008 Cedric Pinson <cedric.pinson@plopbyte.net> 
    33 * 
    4  * This library is open source and may be redistributed and/or modified under   
    5  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     4 * This library is open source and may be redistributed and/or modified under 
     5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    66 * (at your option) any later version.  The full license is in LICENSE file 
    77 * included with this distribution, and on the openscenegraph.org website. 
    8  *  
     8 * 
    99 * This library is distributed in the hope that it will be useful, 
    1010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1212 * OpenSceneGraph Public License for more details. 
    1313*/ 
     
    2525#include <osgAnimation/Export> 
    2626 
    27 namespace osgAnimation  
     27namespace osgAnimation 
    2828{ 
    2929 
     
    3333    { 
    3434    public: 
    35              
     35 
    3636        Target(); 
    3737        virtual ~Target() {} 
     
    5050    { 
    5151    public: 
    52              
     52 
    5353        TemplateTarget() : _target() {} 
    5454        TemplateTarget(const T& v) { setValue(v); } 
     
    118118 
    119119        osg::Quat::value_type len2 = _target.length2(); 
    120         if ( len2 != 1.0 && len2 != 0.0)  
     120        if ( len2 != 1.0 && len2 != 0.0) 
    121121            _target *= 1.0/sqrt(len2); 
    122122    } 
     
    129129    typedef TemplateTarget<float> FloatTarget; 
    130130    typedef TemplateTarget<double> DoubleTarget; 
    131    
     131 
    132132} 
    133133