Changeset 6417 for code/trunk/src/modules/pong/PongBall.cc
- Timestamp:
- Dec 25, 2009, 10:23:58 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/pong/PongBall.cc
r5929 r6417 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.