Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2011, 6:22:47 PM (14 years ago)
Author:
dafrick
Message:

And even more documentation.
Also moved some of the documentation out of Groups.dox into seperate files located in the new groups folder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tetris/src/modules/pong/PongBat.cc

    r8105 r8106  
    7373    @brief
    7474        Is called each tick.
    75         //TODO detailed
     75        Moves the bat.
    7676    @param dt
    7777        The time since last tick.
     
    8787                this->movement_ = clamp(this->movement_, -1.0f, 1.0f) * this->speed_;
    8888
    89                 //TODO What does this?
     89                //TODO: Why needed?
    9090                if (this->bMoveLocal_)
    9191                    this->setVelocity(this->getOrientation() * Vector3(this->movement_, 0, 0));
     
    9696                this->bSteadiedPosition_ = false;
    9797            }
     98            // If there is no movement but the position has not been steadied, the velocity is set to zero and the position is reaffirmed.
    9899            else if (!this->bSteadiedPosition_)
    99100            {
Note: See TracChangeset for help on using the changeset viewer.