diff options
Diffstat (limited to 'FTNoIR_Protocol_FTN')
-rwxr-xr-x | FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp | 4 | ||||
-rw-r--r-- | FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp index eb51fb76..55888484 100755 --- a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp +++ b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp @@ -86,7 +86,7 @@ void FTNoIR_Protocol_FTN::loadSettings() { //
// Update Headpose in Game.
//
-void FTNoIR_Protocol_FTN::sendHeadposeToGame( T6DOF *headpose ) {
+void FTNoIR_Protocol_FTN::sendHeadposeToGame( THeadPoseData *headpose ) {
int no_bytes;
QHostAddress sender;
quint16 senderPort;
@@ -95,7 +95,7 @@ quint16 senderPort; // Copy the Raw measurements directly to the client.
//
frame_counter += 1;
- TestData = headpose->position;
+ TestData = *headpose;
TestData.frame_number = frame_counter;
//
diff --git a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h index 8f0aa478..b460563c 100644 --- a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h +++ b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.h @@ -49,7 +49,7 @@ public: void Initialize();
bool checkServerInstallationOK( HANDLE handle );
- void sendHeadposeToGame( T6DOF *headpose );
+ void sendHeadposeToGame( THeadPoseData *headpose );
void getNameFromGame( char *dest ); // Take care dest can handle up to 100 chars...
void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("FaceTrackNoIR"); };
|