Changeset 8107 for code/branches/tetris/src/modules/pong/PongBat.cc
- Timestamp:
- Mar 23, 2011, 9:41:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tetris/src/modules/pong/PongBat.cc
r8106 r8107 87 87 this->movement_ = clamp(this->movement_, -1.0f, 1.0f) * this->speed_; 88 88 89 // TODO: Why needed?89 // If moveRightLeft() is used the movement is dependento on wehther it is the right or the left bat, so, it is i.e. dependent on the orientation of the bat. 90 90 if (this->bMoveLocal_) 91 91 this->setVelocity(this->getOrientation() * Vector3(this->movement_, 0, 0));
Note: See TracChangeset
for help on using the changeset viewer.