Changeset 6387 for code/branches/presentation2/src/modules/pong/PongBall.cc
- Timestamp:
- Dec 21, 2009, 1:18:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/modules/pong/PongBall.cc
r5929 r6387 105 105 velocity.z = distance * distance * sgn(distance) * PongBall::MAX_REL_Z_VELOCITY * this->speed_; 106 106 acceleration = this->bat_[1]->getVelocity() * this->accelerationFactor_ * -1; 107 107 108 108 this->fireEvent(); 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.