diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-18 08:48:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-18 08:48:15 +0200 |
commit | 20b2685c74ae615420517e93eac0d2c06f6b93cc (patch) | |
tree | de33048a83ca06a54e390498f7137431ab7c9639 | |
parent | 06a3eb720894e3ea0df3954c2c4aaa0e4b5ed7ee (diff) |
ft: use C-style comments
-rw-r--r-- | freetrackclient/freetrackclient.c | 3 | ||||
-rw-r--r-- | ftnoir_protocol_ft/fttypes.h | 14 |
2 files changed, 9 insertions, 8 deletions
diff --git a/freetrackclient/freetrackclient.c b/freetrackclient/freetrackclient.c index e69d9911..ee11741a 100644 --- a/freetrackclient/freetrackclient.c +++ b/freetrackclient/freetrackclient.c @@ -83,10 +83,11 @@ FT_EXPORT(bool) FTGetData(FTData* data) return true; } +/* // For some mysterious reason, the previously existing function FTReportID has been changed to FTReportName, but with an integer as argument. // The Delphi-code from the FreeTrack repo suggest a char * as argument, so it cost me an afternoon to figure it out (and keep ArmA2 from crashing). // Thanks guys! -// +*/ FT_EXPORT(void) FTReportName( int name ) { dbg_report("FTReportName request (ID = %d).\n", name); diff --git a/ftnoir_protocol_ft/fttypes.h b/ftnoir_protocol_ft/fttypes.h index cc78a80a..d4cb0c9b 100644 --- a/ftnoir_protocol_ft/fttypes.h +++ b/ftnoir_protocol_ft/fttypes.h @@ -24,26 +24,26 @@ #define FT_MM_DATA "FT_SharedMem" #define FREETRACK_MUTEX "FT_Mutext" -// only 6 headpose floats and the data id are filled -sh +/* only 6 headpose floats and the data id are filled -sh */ typedef struct __FTData { int DataID; int CamWidth; int CamHeight; - // virtual pose - float Yaw; // positive yaw to the left - float Pitch; // positive pitch up - float Roll; // positive roll to the left + /* virtual pose */ + float Yaw; /* positive yaw to the left */ + float Pitch; /* positive pitch up */ + float Roll; /* positive roll to the left */ float X; float Y; float Z; - // raw pose with no smoothing, sensitivity, response curve etc. + /* raw pose with no smoothing, sensitivity, response curve etc. */ float RawYaw; float RawPitch; float RawRoll; float RawX; float RawY; float RawZ; - // raw points, sorted by Y, origin top left corner + /* raw points, sorted by Y, origin top left corner */ float X1; float Y1; float X2; |