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:
- 3:b44ff6de81bd
- Parent:
- 2:34157ebbf56b
- Child:
- 4:f9d364f10335
--- a/blobConfig.cpp	Sat Mar 31 12:50:32 2012 +0000
+++ b/blobConfig.cpp	Mon Apr 02 05:33:44 2012 +0000
@@ -92,7 +92,7 @@
 
 void blobConfig::addOneRigidLoopBouncing() {
     rigidLoop* pBlob= new rigidLoop();
-    pBlob->createBlob(blobArray.size(), SPOT_BOUNCING, vector2D(CENTER_AD_MIRROR_X/4+100*blobArray.size(), CENTER_AD_MIRROR_Y/4+100*blobArray.size()));
+    pBlob->createBlob(blobArray.size(), SPOT_BOUNCING, vector2D(CENTER_AD_MIRROR_X+100*blobArray.size(), CENTER_AD_MIRROR_Y+100*blobArray.size()));
     // add this relaxing loop to the present config:
     blobArray.push_back(pBlob);
 
@@ -145,7 +145,7 @@
 
 void blobConfig::update() { // update dynamics of the blob
     for (int i=0; i<blobArray.size(); i++) {
-        if ((blobArray[i]->render==true)&&(blobArray[i]->standByMode==false)) blobArray[i]->update();
+        if (blobArray[i]->standByMode==false) blobArray[i]->update();
     }
 }
 
    