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/osgParticle/FluidProgram.cpp

    r12597 r13041  
    3131            float Area = osg::PI*radius*radius; 
    3232            float Volume = Area*radius*four_over_three; 
    33          
     33 
    3434            // compute force due to gravity + boyancy of displacing the fluid that the particle is emersed in. 
    3535            osg::Vec3 accel_gravity = _acceleration * ((particle->getMass() - _density*Volume) * particle->getMassInv()); 
    36              
     36 
    3737            // compute force due to friction 
    38             osg::Vec3 relative_wind = particle->getVelocity()-_wind;             
     38            osg::Vec3 relative_wind = particle->getVelocity()-_wind; 
    3939            osg::Vec3 wind_force = - relative_wind * Area * (_viscosityCoefficient + _densityCoefficient*relative_wind.length()); 
    4040            osg::Vec3 wind_accel = wind_force * particle->getMassInv(); 
     
    4949 
    5050            particle->addVelocity(accel_gravity*dt + wind_accel*compenstated_dt); 
    51              
     51 
    5252 
    5353        }