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.
Dependents: RETRO_BallsAndPaddle RETRO_BallAndHoles
Diff: Ball.h
- Revision:
- 5:065f19e08dcb
- Parent:
- 3:441dc90d10ce
diff -r f421e34313d3 -r 065f19e08dcb Ball.h
--- a/Ball.h Sat Feb 28 11:40:24 2015 +0000
+++ b/Ball.h Sat Feb 28 16:32:03 2015 +0000
@@ -33,6 +33,7 @@
Circle getBoundingCircle();
bool collides(Rectangle r);
+ bool collides(Circle cObject);
bool collides(Line ln);
void Bounce(Vector vBounce);
void BounceAgainst(Vector vBounce);