this version 10/17

Dependencies:   mbed

Fork of linearMirrorMotion by Alvaro Cassinelli

Revision:
20:8475768fc2f7
Parent:
19:8e9fe7d25b9c
diff -r 8e9fe7d25b9c -r 8475768fc2f7 renderclass.h
--- a/renderclass.h	Fri May 24 06:37:58 2013 +0000
+++ b/renderclass.h	Fri May 31 06:32:07 2013 +0000
@@ -2,7 +2,7 @@
 #include <vector>
 #define PI 3.14159
 
-#define RENDER_INTERVAL 1000// in microseconds
+#define RENDER_INTERVAL 700// in microseconds
 
 struct point2dl {
     int x,y;
@@ -25,6 +25,8 @@
     void shearing(point2dl& dataBefore);
     void rotation(point2dl& dataBefore);
     void updateSpeed(float vx, float vy);
+
+    int shearingSwitch;
     
     private:
     vector<letter> *ptext;
@@ -34,7 +36,9 @@
     point2dl drawPoint;
     
     Ticker renderTimer;
+    Timer   speedTimer;
     
     float speed;
     float angle;
+    
 };
\ No newline at end of file