Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ball() : position(0.0), velocity(0.0), radius(BALL_RADIUS), mass(BALL_MASS) {
- index = ballIndexCnt++; Reset();
- }
- ball(){
- position(0.0);
- velocity(0.0);
- radius(BALL_RADIUS);
- mass(BALL_MASS);
- index = ballIndexCnt++; Reset();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement