You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commenly basketball is played on earth. Earth has gravity so this means that ball must fall to the ground.
// create a gameconst game g;
// get coordinates of the ballconst old_coordinates = g.get_bal_coordinates();
// (assume the ball is in the air)// go to next frame
g.tick()
// get new coordinates of the ballconst new_coordinates = g.get_bal_coordinates();
// the coordinates should differassert (old_coordinates != new_coordinates);
The text was updated successfully, but these errors were encountered:
Commenly basketball is played on earth. Earth has gravity so this means that ball must fall to the ground.
The text was updated successfully, but these errors were encountered: