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: shot/shot.cpp
- Revision:
- 16:cf2bfada3adf
- Parent:
- 15:3571beaaeed8
- Child:
- 19:5083339b55e8
--- a/shot/shot.cpp Fri May 15 12:21:45 2020 +0000
+++ b/shot/shot.cpp Mon May 18 08:56:17 2020 +0000
@@ -31,8 +31,8 @@
void shot::init()
{
- _size = 10;
- _size_f = 10.0;
+ _size = 7;
+ _size_f = 7.0;
_p.resize(_size);
srand(time(NULL));
for (std::vector<shot_posandtype>::iterator i = _p.begin(); i < _p.end(); i++) {