Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Ball/ball_test.h
- Revision:
- 40:a1cdb6ab08af
- Parent:
- 39:dfc489594f11
--- a/Ball/ball_test.h Thu May 09 01:58:36 2019 +0000 +++ b/Ball/ball_test.h Thu May 09 10:52:00 2019 +0000 @@ -8,7 +8,7 @@ bool ball_test(){ Ball ball; //create ball object - ball.init(3) //set radius to 3 + ball.init(3); //set radius to 3 Vector2D ball_pos = {10, 20}; //give ball initial position of (10,20) ball.set_position(ball_pos); Vector2D ball_vel = {3, -5}; //give ball initial velocity of (3, -5)