Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: elasticLoop.cpp
- Revision:
- 26:c9329c4fc20a
- Parent:
- 25:74cb85b85fd2
- Child:
- 27:1ce994629ffc
--- a/elasticLoop.cpp Mon Jun 18 11:37:00 2012 +0000 +++ b/elasticLoop.cpp Mon Jun 18 12:39:28 2012 +0000 @@ -414,6 +414,9 @@ // Excursion limits (ATTN!!! this will set the limits for all the masses, so we need FIRT to call to createLoopFromScafold - NO NEEDED ANYMORE: now calling to static member method of pointMass...) setRegionMotion(MIN_AD_MIRRORS, MIN_AD_MIRRORS, MAX_AD_MIRRORS, MAX_AD_MIRRORS); + + // draw it once on the display buffer for good initialization: + draw(); } void elasticLoop::speedFactor(float speedfactor) { @@ -696,7 +699,7 @@ if (displaySensingBuffer.lightTouched) displaySensingBuffer.displayColor=blobColor|0x02; // set green ON on the trajectory, regardless of the initial color else - displaySensingBuffer.displayColor=blobColor; + displaySensingBuffer.displayColor=blobColor; }