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

    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*/ 
     
    2222#include <osg/Geometry> 
    2323 
    24 namespace osgAnimation  
     24namespace osgAnimation 
    2525{ 
    2626 
     
    3838        const VertexInfluenceMap* getInfluenceMap() const { return _vertexInfluenceMap.get();} 
    3939        VertexInfluenceMap* getInfluenceMap() { return _vertexInfluenceMap.get();} 
    40   
     40 
    4141        const Skeleton* getSkeleton() const; 
    4242        Skeleton* getSkeleton(); 
    4343        // will be used by the update callback to init correctly the rig mesh 
    4444        void setSkeleton(Skeleton*); 
    45          
     45 
    4646        void setNeedToComputeMatrix(bool state) { _needToComputeMatrix = state;} 
    4747        bool getNeedToComputeMatrix() const { return _needToComputeMatrix;} 
    48          
     48 
    4949 
    5050        // this build the internal database about vertex influence and bones 
     
    7272 
    7373    protected: 
    74          
     74 
    7575        osg::ref_ptr<osg::Geometry> _geometry; 
    7676        osg::ref_ptr<RigTransform> _rigTransformImplementation; 
     
    8383        osg::observer_ptr<Skeleton> _root; 
    8484        bool _needToComputeMatrix; 
    85   
     85 
    8686        struct FindNearestParentSkeleton : public osg::NodeVisitor 
    8787        { 
    8888            osg::ref_ptr<Skeleton> _root; 
    8989            FindNearestParentSkeleton() : osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_PARENTS) {} 
    90             void apply(osg::Transform& node)  
     90            void apply(osg::Transform& node) 
    9191            { 
    9292                if (_root.valid())