Created
November 20, 2017 04:32
-
-
Save kairess/6fa8512784bd2525744e3699d854337a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. PiPeClientTest.dll 파일 추가 | |
#pragma comment(lib,"VREX_WIN.lib") | |
// 2. 헤더 파일 추가 | |
#include "VREX.h" | |
using namespace std; | |
// 3. Gaze Point를 받는 콜백함수 작성 | |
void getGazePt(float x, float y) { | |
_tprintf(_T("getGazePt %f %f \n"),x,y); | |
} | |
int _tmain(int argc, TCHAR* argv[]) { | |
// 4 .Client 생성 | |
VREX_Client *client = CreateClient(); | |
// 5.register Callback | |
setCallback(client, getGazePt); | |
// 6. 아이트랙킹 앱 실행 | |
start(client); | |
while (true) { | |
} | |
return 1; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment