Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2011, 6:22:47 PM (13 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/PongBall.cc

    r8105 r8106  
    144144                        // Set the ball to be exactly at the boundary.
    145145                        position.x = this->fieldWidth_ / 2;
    146                         // Invert its veloxity in x-direction (i.e. it bounces off).
     146                        // Invert its velocity in x-direction (i.e. it bounces off).
    147147                        velocity.x = -velocity.x;
    148148                        // Adjust the velocity in the z-direction, depending on where the ball hit the bat.
     
    171171                        // Set the ball to be exactly at the boundary.
    172172                        position.x = -this->fieldWidth_ / 2;
    173                         // Invert its veloxity in x-direction (i.e. it bounces off).
     173                        // Invert its velocity in x-direction (i.e. it bounces off).
    174174                        velocity.x = -velocity.x;
    175175                        // Adjust the velocity in the z-direction, depending on where the ball hit the bat.
Note: See TracChangeset for help on using the changeset viewer.