ben winstone
/
ucam
As of Monday morning, so this is the code we showed at Uncraftivism.
Diff: Blinker.cpp
- Revision:
- 1:5d20e168f467
- Parent:
- 0:da6a22da11a2
--- a/Blinker.cpp Fri Dec 11 21:59:44 2009 +0000 +++ b/Blinker.cpp Mon Dec 14 08:25:07 2009 +0000 @@ -49,7 +49,7 @@ float Blinker::openPosForSleepiness() { // for sleepiness 0->1, return EYE_OPEN ->( )/2 - return EYE_OPEN + ( (EYE_CLOSED-EYE_OPEN) * 0.5 * m_sleepiness); + return EYE_OPEN + ( (EYE_CLOSED-EYE_OPEN) * 0.8 * m_sleepiness); } void Blinker::close()