From 9edc4683ecd75d4705aca13217779e3c1a721913 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 27 Jun 2013 16:06:34 +0200 Subject: Rename R[XYZ] to Yaw, Pitch, Roll to avoid confusion Requested-by: mm0zct --- ftnoir_protocol_sc/ftnoir_protocol_sc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ftnoir_protocol_sc') diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp index ba4c9012..3cc25be4 100644 --- a/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp +++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.cpp @@ -90,9 +90,9 @@ void FTNoIR_Protocol::sendHeadposeToGame( double *headpose, double *rawheadpose PDWORD_PTR MsgResult = 0; - virtSCRotX = -headpose[RY]; // degrees - virtSCRotY = -headpose[RX]; - virtSCRotZ = headpose[RZ]; + virtSCRotX = -headpose[Pitch]; // degrees + virtSCRotY = -headpose[Yaw]; + virtSCRotZ = headpose[Roll]; virtSCPosX = headpose[TX]/100.f; // cm to meters virtSCPosY = headpose[TY]/100.f; -- cgit v1.2.3