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.
Fork of scoreLight_Advanced by
Diff: blobConfig.cpp
- Revision:
- 22:d87317d7ca91
- Parent:
- 19:228430f1350e
- Child:
- 25:74cb85b85fd2
--- a/blobConfig.cpp Sun May 06 14:40:19 2012 +0000
+++ b/blobConfig.cpp Sat Jun 02 06:38:12 2012 +0000
@@ -102,7 +102,7 @@
void blobConfig::addOneRigidLoopBouncing() {
rigidLoop* pBlob= new rigidLoop();
- pBlob->createBlob(blobArray.size(), SPOT_BOUNCING, vector2Df(CENTER_AD_MIRROR_X+100*blobArray.size(), CENTER_AD_MIRROR_Y+100*blobArray.size()), vector2Df(0,0));
+ pBlob->createBlob(blobArray.size(), SPOT_BOUNCING, vector2Df(CENTER_AD_MIRROR_X+100*blobArray.size(), CENTER_AD_MIRROR_Y+100*blobArray.size()), vector2Df(rand()%3,rand()%3));
// add this relaxing loop to the present config:
blobArray.push_back(pBlob);
