Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2015, 5:31:23 PM (9 years ago)
Author:
landauf
Message:

replaced tabs with spaces. no changes in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS14/src/modules/jump/JumpSpring.cc

    r10078 r10215  
    7474        if (stretch_ > 1.0)
    7575        {
    76                 stretch_ -= dt;
    77                 setScale3D(1.0, 1.0, stretch_);
     76            stretch_ -= dt;
     77            setScale3D(1.0, 1.0, stretch_);
    7878        }
    7979
     
    8787            if(figureVelocity.z < 0 && figurePosition.x > springPosition.x-width_ && figurePosition.x < springPosition.x+width_ && figurePosition.z > springPosition.z-height_ && figurePosition.z < springPosition.z+height_)
    8888            {
    89                 touchFigure();
     89                touchFigure();
    9090            }
    9191        }
     
    9494    void JumpSpring::touchFigure()
    9595    {
    96         JumpItem::touchFigure();
     96        JumpItem::touchFigure();
    9797
    98         stretch_ = 3.0;
     98        stretch_ = 3.0;
    9999
    100         accelerateFigure();
     100        accelerateFigure();
    101101    }
    102102
    103103    void JumpSpring::accelerateFigure()
    104104    {
    105         if (figure_ != 0)
    106         {
    107                         figure_->JumpFromSpring(this);
    108         }
     105        if (figure_ != 0)
     106        {
     107            figure_->JumpFromSpring(this);
     108        }
    109109    }
    110110}
Note: See TracChangeset for help on using the changeset viewer.