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.
Dependencies: mbed
Diff: bullet/bullet.h
- Revision:
- 30:9688950d9f38
- Parent:
- 29:3cc490f4ffb9
- Child:
- 31:5c9309ddf84c
--- a/bullet/bullet.h Sat Apr 20 00:51:24 2019 +0000
+++ b/bullet/bullet.h Sat Apr 20 00:53:42 2019 +0000
@@ -22,4 +22,13 @@
void set_velocity(Vector2D v);
void set_pos(Vector2D p);
Vector2D get_pos();
- Vector2D get_velocity();
\ No newline at end of file
+ Vector2D get_velocity();
+
+ private:
+
+ Vector2D _velocity;
+ int _size;
+ int _x;
+ int _y;
+};
+#endif
\ No newline at end of file