Changeset 8106 for code/branches/tetris/src/modules/pong/PongBat.cc
- Timestamp:
- Mar 23, 2011, 6:22:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tetris/src/modules/pong/PongBat.cc
r8105 r8106 73 73 @brief 74 74 Is called each tick. 75 //TODO detailed75 Moves the bat. 76 76 @param dt 77 77 The time since last tick. … … 87 87 this->movement_ = clamp(this->movement_, -1.0f, 1.0f) * this->speed_; 88 88 89 //TODO What does this?89 //TODO: Why needed? 90 90 if (this->bMoveLocal_) 91 91 this->setVelocity(this->getOrientation() * Vector3(this->movement_, 0, 0)); … … 96 96 this->bSteadiedPosition_ = false; 97 97 } 98 // If there is no movement but the position has not been steadied, the velocity is set to zero and the position is reaffirmed. 98 99 else if (!this->bSteadiedPosition_) 99 100 {
Note: See TracChangeset
for help on using the changeset viewer.