diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-01-10 20:28:59 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-01-10 20:28:59 +0000 |
commit | d0132f5e3881a6cb09bfe41326831d36527b7321 (patch) | |
tree | 94a7c4c191d77b8711cc62cedb15caca74bb7e15 /FaceTrackNoIR/tracker.cpp | |
parent | fa0149df2e558680918b772a13e507ccce66d74b (diff) |
Basic Excel tracking.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@38 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.cpp')
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 6e360ade..633af24e 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -618,8 +618,12 @@ void Tracker::run() { ReleaseMutex(Tracker::hTrackMutex);
server_Game->sendHeadposeToGame();
+# ifdef USE_DEBUG_CLIENT
+ debug_Client->sendHeadposeToGame();
+# endif
+
//for lower cpu load
- msleep(10);
+ usleep(10000);
yieldCurrentThread();
}
}
|