Laser Sensing Display for UI interfaces in the real world
Fork of skinGames_forktest by
Diff: classLaserSensingTrajectory.cpp
- Revision:
- 7:0df17f3078bc
- Parent:
- 6:444859c27e78
- Child:
- 10:6f8e48dca1bd
--- a/classLaserSensingTrajectory.cpp Thu Apr 05 13:06:24 2012 +0000 +++ b/classLaserSensingTrajectory.cpp Sat Apr 07 14:46:51 2012 +0000 @@ -39,7 +39,7 @@ lightTouched=false; // int counterLight=0; for (int i = 0; i < lsdTrajectory.size(); i++) { - int delayedpoint=(i+auxSize+delayMirrorSamples)%auxSize; // this way we can have negative delayMirrorSamples + int delayedpoint=(i+auxSize+delayMirrorSamples)%auxSize; // this way we can have negative delayMirrorSamples if required (would be absurd though) if (lsdTrajectory[delayedpoint].intensity>autoThreshold) { // this means a WHITE zone: lsdTrajectory[i].lightZone= -1;//1; // counterLight++;