Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: rigidLoop.cpp
- Revision:
- 14:0fc33a3a7b4b
- Parent:
- 12:0de9cd2bced5
- Child:
- 15:56a0bf424e8d
--- a/rigidLoop.cpp Thu Apr 12 09:50:47 2012 +0000 +++ b/rigidLoop.cpp Thu Apr 12 13:02:59 2012 +0000 @@ -40,10 +40,11 @@ //setColor(0x07);//0x04+0x02>>i); setColor(0x04); - saccadeRadius=150; + saccadeRadius=250; // default (initial) shape (the scafold belongs to the base class): - bluePrint.buildCircularScafold(saccadeRadius, vector2Dd(0,0), 14); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints); + // NOTE: number of points in the case of need to compute recentering vector needs to be EVEN + bluePrint.buildCircularScafold(saccadeRadius, vector2Dd(0,0), 16); //(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints); // Note: We may assume NO MASS for the center of the contour following loop. Adding mass may be interesting though (smooth motion). massCenter=0.01;