Alvaro Cassinelli
/
skinGames_forktest
just a test
Fork of scoreLight_Advanced by
Diff: simpleLaserRenderer.h
- Revision:
- 5:73cd58b58f95
- Parent:
- 4:f9d364f10335
- Child:
- 6:444859c27e78
--- a/simpleLaserRenderer.h Wed Apr 04 10:05:25 2012 +0000 +++ b/simpleLaserRenderer.h Thu Apr 05 12:29:14 2012 +0000 @@ -9,13 +9,13 @@ #define debugDelayMirrors // this is to check visually the mirror delay (but it is also beautiful) -#define RENDER_INTERVAL 0.0004 // good value in previous version (monaco) was 0.00011 // in seconds (Ticker) +#define RENDER_INTERVAL 0.00011 // good value in previous version (monaco) was 0.00011 // in seconds (Ticker) -#define WAIT_NORMAL 3 // waiting time for setting mirror position MINUS waiting laser time (note that this total waiting time may be equal to 0 if we set a good sampling freq for the renderer, but +#define WAIT_NORMAL 0 // (minimum is 0) waiting time for setting mirror position MINUS waiting laser time (note that this total waiting time may be equal to 0 if we set a good sampling freq for the renderer, but // and if the shape is regular so that this time does not change significatively - this is not the case for multiple blobs or highly deformed blobs). -#define WAIT_LASER 1 // waiting time for activating the laser -#define WAIT_FIRST 5 // special waiting time for first point -#define WAIT_LAST 5 // special waiting time for last point +#define WAIT_LASER 0 // (minimum is 0) waiting time for activating the laser (needed for green laser?) +#define WAIT_FIRST 20 // special waiting time for first point +#define WAIT_LAST 20 // special waiting time for last point enum lsdStateType {NORMAL_POINT, LAST_POINT, MOVE_NEXT_BLOB, START_POINT};