sotsuron

Fork of linearMirrorMotion1017 by Hiromasa Oku

Revision:
26:74ecbf9985e1
Parent:
25:423050363215
Child:
28:d86c629b6fd3
--- a/renderclass.h	Wed Jul 03 07:43:48 2013 +0000
+++ b/renderclass.h	Mon Jul 22 08:09:18 2013 +0000
@@ -2,7 +2,7 @@
 #include <vector>
 #define PI 3.14159
 
-#define RENDER_INTERVAL 500// in microseconds
+#define RENDER_INTERVAL 600// in microseconds
 #define WAITING_FIRST 1 // this means WAITING_FIRST number of interrupt cycles in case of the first point
 #define WAITING_LAST 1
 
@@ -28,11 +28,14 @@
     void transform(point2dl& mypoint);
     void shearing(point2dl& dataBefore);
     void rotation(point2dl& dataBefore);
-    void updateSpeed(float gspeed, float gangle, float vvx, float vvy);
+    void updateSpeed(float vvx, float vvy);
 
     int shearingSwitch;
     int laserColor;
     
+    int radious;
+    int startSwitch;
+    
     private:
     vector<letter> *ptext;
     vector<letter> translated;
@@ -50,6 +53,7 @@
     float angle;
     float vx;
     float vy;
-    int radious;
+    float intvx,intvy;
     
-};
\ No newline at end of file
+    
+};