Takashi Asano
/
linearMirrorMotion1017
sotsuron
Fork of linearMirrorMotion1017 by
Diff: renderclass.h
- Revision:
- 20:8475768fc2f7
- Parent:
- 19:8e9fe7d25b9c
- Child:
- 21:4095a071724d
- Child:
- 29:aa8fe9fccec8
--- 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