Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: classRigidScafold.h
- Revision:
- 4:f9d364f10335
- Parent:
- 0:345b3bc7a0ea
- Child:
- 7:0df17f3078bc
--- a/classRigidScafold.h Mon Apr 02 05:33:44 2012 +0000 +++ b/classRigidScafold.h Wed Apr 04 10:05:25 2012 +0000 @@ -13,16 +13,14 @@ // (1) METHODS for creating different SCAFOLD structures // Note: these scafolds may or may not be used to initialize the light loop (in case of elasticLoop). - void buildCircularScafold(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints); + void buildCircularScafold(float _radius, vector2D _pos, int _numScafoldPoints); + void buildLine(float _length, float _angleDeg, vector2D _pos, int _numScafoldPoints); // Other functions to create letters, text, etc. // ... // DATA structures: // note: the number of points in the scafold does not need to equate the number of points in the blob vector<vector2D> scafold; // scafold trajectory (centered around the centerScafold point). Can be used to initialize elastic loop. - vector2D center; // the center of the scafold can be used to set the INITIAL position of the loop - vector2D speed; // again, this may be used to set the initial speed of the loop - float radius; }; #endif \ No newline at end of file