just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Revision:
0:345b3bc7a0ea
Child:
1:a4050fee11f7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/classRigidScafold.cpp	Wed Mar 28 14:40:01 2012 +0000
@@ -0,0 +1,24 @@
+#include "classRigidScafold.h"
+ 
+ RigidScafold::RigidScafold() {
+ }
+ 
+ RigidScafold::~RigidScafold() {
+ }
+ 
+
+ void  RigidScafold::buildCircularScafold(float _radius, vector2D _pos,vector2D _vel, int _numScafoldPoints) {
+    scafold.resize(_numScafoldPoints);
+    radius=_radius;
+    center=_pos;
+    speed=_vel;
+    for (int i = 0; i < scafold.size(); i++) {
+        scafold[i].x= center.x + radius * cos ( (1.0*i / _numScafoldPoints) * 2 * PI);
+        scafold[i].y =center.y + radius * sin ( (1.0*i / _numScafoldPoints) * 2 * PI);
+    }
+}
+  
+  // Other functions to create letters, text, etc. 
+  // ... TO DO ....
+  
+ 
\ No newline at end of file