Advertisement
BloodknightStudios

Untitled

Nov 1st, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. ball() : position(0.0), velocity(0.0), radius(BALL_RADIUS), mass(BALL_MASS) {
  2.         index = ballIndexCnt++; Reset();
  3. }
  4.  
  5. ball(){
  6.     position(0.0);
  7.     velocity(0.0);
  8.     radius(BALL_RADIUS);
  9.     mass(BALL_MASS);
  10.     index = ballIndexCnt++; Reset();
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement