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/include/osgParticle/BounceOperator

    r12139 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2010 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2010 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*/ 
     
    3232    : DomainOperator(), _friction(1.0f), _resilience(0.0f), _cutoff(0.0f) 
    3333    {} 
    34      
     34 
    3535    BounceOperator( const BounceOperator& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY ) 
    3636    :   DomainOperator(copy, copyop), 
    3737        _friction(copy._friction), _resilience(copy._resilience), _cutoff(copy._cutoff) 
    3838    {} 
    39      
     39 
    4040    META_Object( osgParticle, BounceOperator ); 
    41      
     41 
    4242    /// Set the friction 
    4343    void setFriction( float f ) { _friction = f; } 
    44      
     44 
    4545    /// Get the friction 
    4646    float getFriction() const { return _friction; } 
    47      
     47 
    4848    /// Set the resilience 
    4949    void setResilience( float r ) { _resilience = r; } 
    50      
     50 
    5151    /// Get the velocity cutoff factor 
    5252    float getResilience() const { return _resilience; } 
    53      
     53 
    5454    /// Set the velocity cutoff factor 
    5555    void setCutoff( float v ) { _cutoff = v; } 
    56      
     56 
    5757    /// Get the velocity cutoff factor 
    5858    float getCutoff() const { return _cutoff; } 
    59      
     59 
    6060protected: 
    6161    virtual ~BounceOperator() {} 
    6262    BounceOperator& operator=( const BounceOperator& ) { return *this; } 
    63      
     63 
    6464    virtual void handleTriangle( const Domain& domain, Particle* P, double dt ); 
    6565    virtual void handleRectangle( const Domain& domain, Particle* P, double dt ); 
     
    6767    virtual void handleSphere( const Domain& domain, Particle* P, double dt ); 
    6868    virtual void handleDisk( const Domain& domain, Particle* P, double dt ); 
    69      
     69 
    7070    float _friction; 
    7171    float _resilience;